PHP Fatal error in style.php and style-colors.php

 After updating the theme to 9.6 I get the following errors:

[11-Sep-2015 10:25:07 America/Chicago] PHP Fatal error:  Call to undefined function mfn_opts_show() in /wp-content/themes/betheme/style.php on line 12
[11-Sep-2015 10:25:07 America/Chicago] PHP Fatal error:  Call to undefined function mfn_opts_show() in /wp-content/themes/betheme/style-colors.php on line 12

I am using the betheme-child as my active theme.

Comments

  • I have got the same error. Please help us in fixing it. Thanks.
  • Hi,

    any url to site where this happen?
  • edited September 2015
    Hello!

    Here is a sample link from one of our sites where this problem is appearing:

    What have we tried?

    1. We have tried to reset everything to default.
    2. We have tested it on more than one domain to confirm the error.

    The error is not having any impacts on the front end of the website as far as i can see but we can't use the Static CSS feature anymore because of this error.

    Your help will be greatly appreciated. Thanks.

    P.S: Any radical changes have been made since the latest release that could impact such an error?
  • Update: I have just downgraded the theme to the previous version (v9.5) to solve the issue. We hope to see a new update from your side pretty soon concerning this problem. Thanks
  • edited September 2015
    @muffingroup : I didn't add any new plugins since version 9.5. In fact, I deleted some plugins and freed more space around. Version 9.5 is working perfectly for me. 

    Besides that, I don't have the Jetpack plugin installed on this server. If the problem is not from the theme then why the previous version is working well? Our guess is that your latest update triggered a new set of conflicts around.

    Thanks for your help and extended support. Any ideas or suggestions will be greatly appreciated.
  • @kronomia As you see on this forum, 9.6 version works very well for all other people so the problem is definitely on your side. If you will send us url to site where you got latest version installed, then we can have a look on it.
  • edited September 2015
    @muffingroup : Thank you for your reply. We really appreciate your help.

    Please, keep in mind that not everyone report bugs and few people actually monitor bugs in the first place. Not getting enough people talking about the same problem does not mean the problem does not exist. Not to mention that 2 people on this forum had reported the same problem.

    Forget about my website for now. Please, check the output of those URLs on your server:


    Namely,
    /******************* Background ********************/

    html {
    background-color:
    /********************** Backgrounds **********************/

    #Header_wrapper {
    background-color: 

    It is not logical to get an output like that if you compare it to version 9.5. Thanks.

    Best Regards~
  • @kronomia Those files are ok of course. This is how they supposed to work now as they are invisible in the code. So we do not understand why are you sending us url to files which does not exist in the code. The way of including those files has been changed and this is the reason why they should look like now.
  • I also see this in my error log.  Although the site appears to working correctly.  

    Most people don't look at their error log.
  • @tinyfox But this is not an error. And we do not understand what for are you opening these files. These files since 9.6 version are deprecated and are invisible. Only you see them because you know where they were before that update.
  • I'm not opening any files.  These errors, just show up in my apache error log.
  • @tinfox Any screenshot of how it looks like in Apache? Because we do not see anything like that on our side.
  • [Wed Sep 16 04:14:15.925004 2015] [:error] [pid 1659] [client 66.249.64.76:46857] PHP Fatal error:  Call to undefined function mfn_opts_show() in /var/www/html/cctheatre.org/wp-content/themes/betheme/style.php on line 12
    [Wed Sep 16 04:49:44.915344 2015] [:error] [pid 1656] [client 66.249.64.86:58106] PHP Fatal error:  Call to undefined function mfn_opts_show() in /var/www/html/cctheatre.org/wp-content/themes/betheme/style.php on line 12
    [Wed Sep 16 05:35:15.956687 2015] [:error] [pid 2046] [client 66.249.64.76:57411] PHP Fatal error:  Call to undefined function mfn_opts_show() in /var/www/html/cctheatre.org/wp-content/themes/betheme/style.php on line 12
    [Wed Sep 16 06:13:53.903027 2015] [:error] [pid 2045] [client 66.249.64.81:51766] PHP Fatal error:  Call to undefined function mfn_opts_show() in /var/www/html/cctheatre.org/wp-content/themes/betheme/style.php on line 12
    [Wed Sep 16 06:55:05.261527 2015] [:error] [pid 3090] [client 66.249.64.86:47097] PHP Fatal error:  Call to undefined function mfn_opts_show() in /var/www/html/cctheatre.org/wp-content/themes/betheme/style.php on line 12
    [Wed Sep 16 07:05:58.772974 2015] [:error] [pid 3104] [client 66.249.64.81:50223] PHP Fatal error:  Call to undefined function mfn_opts_show() in /var/www/html/cctheatre.org/wp-content/themes/betheme/style.php on line 12
    [Wed Sep 16 07:55:02.454407 2015] [:error] [pid 3145] [client 66.249.64.81:47859] PHP Fatal error:  Call to undefined function mfn_opts_show() in /var/www/html/cctheatre.org/wp-content/themes/betheme/style.php on line 12
    [Wed Sep 16 08:39:06.173678 2015] [:error] [pid 3788] [client 66.249.64.86:57248] PHP Fatal error:  Call to undefined function mfn_opts_show() in /var/www/html/cctheatre.org/wp-content/themes/betheme/style.php on line 12
    [Wed Sep 16 08:57:43.996869 2015] [:error] [pid 3786] [client 66.249.64.86:43492] PHP Fatal error:  Call to undefined function mfn_opts_show() in /var/www/html/cctheatre.org/wp-content/themes/betheme/style.php on line 12
    [Wed Sep 16 09:12:10.478332 2015] [:error] [pid 4047] [client 180.76.15.145:25430] PHP Fatal error:  Call to undefined function mfn_opts_show() in /var/www/html/cctheatre.org/wp-content/themes/betheme/style.php on line 12
    [Wed Sep 16 09:28:49.185783 2015] [:error] [pid 4455] [client 66.249.64.76:55976] PHP Fatal error:  Call to undefined function mfn_opts_show() in /var/www/html/cctheatre.org/wp-content/themes/betheme/style.php on line 12
    [Wed Sep 16 10:21:09.502071 2015] [:error] [pid 4828] [client 66.249.64.81:40861] PHP Fatal error:  Call to undefined function mfn_opts_show() in /var/www/html/cctheatre.org/wp-content/themes/betheme/style.php on line 12
    [Wed Sep 16 12:00:34.779792 2015] [:error] [pid 6083] [client 66.249.64.76:37672] PHP Fatal error:  Call to undefined function mfn_opts_show() in /var/www/html/cctheatre.org/wp-content/themes/betheme/style.php on line 12
    [Wed Sep 16 13:28:47.414779 2015] [:error] [pid 6765] [client 66.249.64.86:56156] PHP Fatal error:  Call to undefined function mfn_opts_show() in /var/www/html/cctheatre.org/wp-content/themes/betheme/style.php on line 12
    [Wed Sep 16 13:49:44.344624 2015] [:error] [pid 6842] [client 66.249.64.76:55238] PHP Fatal error:  Call to undefined function mfn_opts_show() in /var/www/html/cctheatre.org/wp-content/themes/betheme/style.php on line 12
    [Wed Sep 16 15:02:39.236768 2015] [:error] [pid 7505] [client 66.249.64.76:59050] PHP Fatal error:  Call to undefined function mfn_opts_show() in /var/www/html/cctheatre.org/wp-content/themes/betheme/style.php on line 12
    [Wed Sep 16 18:02:38.014396 2015] [:error] [pid 8907] [client 66.249.64.86:63422] PHP Fatal error:  Call to undefined function mfn_opts_show() in /var/www/html/cctheatre.org/wp-content/themes/betheme/style.php on line 12
    [Wed Sep 16 19:00:55.835582 2015] [:error] [pid 9138] [client 66.249.64.86:40516] PHP Fatal error:  Call to undefined function mfn_opts_show() in /var/www/html/cctheatre.org/wp-content/themes/betheme/style.php on line 12
    [Wed Sep 16 19:23:35.185694 2015] [:error] [pid 9449] [client 66.249.64.81:53105] PHP Fatal error:  Call to undefined function mfn_opts_show() in /var/www/html/cctheatre.org/wp-content/themes/betheme/style.php on line 12
    [Wed Sep 16 19:50:28.080108 2015] [:error] [pid 9700] [client 66.249.64.86:62495] PHP Fatal error:  Call to undefined function mfn_opts_show() in /var/www/html/cctheatre.org/wp-content/themes/betheme/style.php on line 12
    [Wed Sep 16 20:22:13.815881 2015] [:error] [pid 9674] [client 66.249.64.76:47123] PHP Fatal error:  Call to undefined function mfn_opts_show() in /var/www/html/cctheatre.org/wp-content/themes/betheme/style.php on line 12
  • @tinfox Ok. So we'll disable these files completely with next update. They will be blocked and problem will be solved.
  • It doesn't seem to harm anything.  So no big deal...
Sign In or Register to comment.