Update to 10.1 : crash due to theme-functions.php

Hi !

I updated the theme from 9.3 to 10.1 (WP : 4.2.5)
All is working great, but it seems that i have a issue with the new 'theme-functions.php' file (in child theme)

Here was my setup (working on 9.3)
betheme-child / functions.php
// overwritting mfn_post_navigation() function
require_once( get_stylesheet_directory() . '/functions/theme-functions.php' );  


Now (by uploading the new theme-functions.php in child theme, without any customization)
--> website crash (white page)
If i remove the "require_once" instruction from betheme-child / functions.php
--> website ok
But I really need to overwrite the mfn_post_navigation() function
(the thumbnail need to be display only for a specific category)

Is there a problem with my require_once() instruction ?
Got an idea how to solve that ?

Thanks in advance for your help !

Comments

Sign In or Register to comment.