Bug in latest version of Betheme - Call to undefined function mfn_opts_show()

When upgrade to the latest version I get the following error when opening the website and nothing else shows - backoffice does work:
Call to undefined function mfn_opts_show()

I then put back an ealrier version and that solved it.
I persume this is a bug?

Comments

  • edited March 2019
    Hi,
    I suppose that you use the Child Theme, thats because we changed the structure of the Child Theme.
    Now, you don't have to declare changes in the functions.php file, overwrite the files in the Child Theme.
    But you have to delete the old Child Theme and install the new one which is in the latest package of BeTheme in the ThemeForest.
    Thanks
  • That's correct, we use a child theme.
    So we need to keep all files that were modified, and upload new files, correct?
    I don's understand what you mean with 'Now, you don't have to declare changes in the functions.php file, overwrite the files in the Child Theme.'
  • Previously, you had to include the information in functions.php file which files were changed to turn on that change on the theme.
    Documentation: https://developer.wordpress.org/themes/advanced-topics/child-themes/

    Right now, you don't have to include that information, your changes will be automatically added without leaving a note in a functions.php file - of course, you have to turn on the Child Theme on your website.

    But, in your case it will not solve that 'Call to undefined function mfn_opts_show()' - sorry, my bad.
    To make it work, you have to find that function in your modified files and replace the 'mfn_opts_show()' to 'echo mfn_opts_get()'

    After that, everything will be working fine, we had to make that change because of the new envato rules, more about it here: https://help.author.envato.com/hc/en-us/articles/360000481243#h_674316188621522302914837

    Thanks
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.