Problems with updating BeTheme to latest version

Seems that I am experiencing problems updating the theme to latest version.  I can access the backend of the website, but the website itself goes down.

In this case, I just updated to Version 21.1.7 and the website doesn't load.  What would cause this issue.  Deactivating all plugins does not have any impact.
«1

Comments

  • As an update, if I deactivate the Child Theme and Activate the parent theme, the theme partially loads.  In updating the theme, should you activate the parent theme before updating?  The instructions do not specify this.
  • Same problem on https://easterlingfamilylaw.com/.  This website is on 5.0.4 whereas the website above is on 5.1.1.  I thought it might be with WP version.
  • Restored easterlingfamilylaw.com from backup, left https://strangimmigration.com/ so you could see problem.
  • Hi,
    The problem is related to the Child Themec - because recently we updated it.
    How to make it work again:
    You have to find and replace the 'mfn_opts_show()' to 'echo mfn_opts_get()' in files which were modified.
    After that, everything should 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
  • And where do I find this to fix it?  I don't know where to even start looking.
  • Is this in the Child Theme Functions php or the Parent functions php?
  • You have to find and replace the 'mfn_opts_show()' to 'echo mfn_opts_get()' in files which were modified.

    By "files which were modified" I mean files which were modified by you to work in the Child Theme.
    If somebody modified theme files for you, you should contact him and let him do that.
    Thanks
  • You do realize that this impacts more than just me.  As Child Themes were supposed to keep this from happening in the first place.  Muffin Group needs to update it's outline updating the theme when using a Child Theme.

      And, I'm not aware of any files in the Child Theme that would have been modified by my developer or myself.  In the Child Theme, we just have the custom CSS.

    I will download another copy of the Child Theme from Theme Forest and compare files., I still have 10 months of support remaining.  I can't believe that a theme would break within just a few months.
  • This update was made to make the Child Theme work more user friendly, we know that old customers will have to change these lines, but it will make work with Child Theme easier.

    Why? Because after that update, you don't have to mention changed files in the functions.php, our script recognize it by himself now.

    Also, if you use Child Theme only for Custom CSS, then you don't have to use Child Theme.
    Add whole custom CSS in the Theme Options > Custom CSS & JS > CSS with Parent Theme turned on.

    I hope it's clear now.
    Thanks
  • That didn't work, so I have restored the website back to the original backup before update.
    Very disappointed that I implemented a Child Theme to prevent this from occurring in the first place.

    I have 5 sites now that I can't update or will have to pay someone to update.
  • Moving the CSS over after upgrade:  The logo on the interior pages disappears. 

    In the header sliding area php it has the line:
    $st_class = 'st-'. mfn_opts_get('sliding-top');

    Does that change?
  • And where mfn_opts_get() already exists, does that need to change to echo mfn_opts_get()
  • I am also having this issue, updating from 21.0.8 to 21.1.7. Cannot update through the front end or back end, just get a white screen. I am also using a child theme on a large site.
  • edited April 2019
    If you see the "mfn_opts_get()" somewhere already, then you dont have to type the "echo" before it - adding it, can make the theme work badly.

    I removed the codes above because they included the code of our theme, which shouldn't be posted in public forum.
    Did you change all of the "mfn_opts_show" lines? - Didn't that solve your issue?

    Please read whole topic from beginning.
    You have to find and replace the 'mfn_opts_show()' to 'echo mfn_opts_get()' in files which were modified (only in child theme)

    Thanks
  • We're having the same problem. After update site does not display.  Searched in funtction.php file and can't find mfn_opts_show()
    Name:  Betheme Child
    Version:  17.8.4.1496044160
    Parent theme version: 21.1.7
    WordPress version: 5.1.1
    PHP version: 7.3.4
    Site address (URL): https://www.tevo.co.za
    WooCommerce version: 3.6.2
  • You have to find for this "mfn_opts_show()" in all files which you modified and placed in the child theme.
    For making it easier, they surely will have .php extension
    Thanks
  • Confirming this resolved my issue thanks Pablo.
  • Did not work.  There were only two lines in the header.php located in the child-theme files that had mfn_opts_show() and I replaced those two references to echo mfn_opts_get.  I still get a blank page with a blue stripe at the top of the page.  There are no other .php files in the Child-theme folders that have mfn_opts_show().

    I went to the developer, and he encountered the same results.  What is my next step?
  • I tried to upgrade a second site:  https://www.docmarciaacupuncture.com/

    Name:  Betheme Child
    Version:  Version: 1.6.1.2
    Parent theme version: Version: 21.0.6
    WordPress version: 5.0.4

    I thought this would be a safe upgrade, because the mfn_opts_show() does not appear any the one php in the child theme folder.  This theme and child theme was created in January of this year.

    So there is an obvious problem.  Like I said, I have many sites based on this theme.
  • Please enable the debug mode, then get into that issued page.
    The error should appear on the screen which will inform you, where the problem appears.
    Thanks
  • [07-May-2019 16:57:29 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function mfn_builder_print() in /home/stranglaw/public_html/wp-content/themes/betheme-child/page.php:26
    Stack trace:
    #0 /home/stranglaw/public_html/wp-includes/template-loader.php(77): include()
    #1 /home/stranglaw/public_html/wp-blog-header.php(19): require_once('/home/stranglaw...')
    #2 /home/stranglaw/public_html/index.php(17): require('/home/stranglaw...')
    #3 {main}
    thrown in /home/stranglaw/public_html/wp-content/themes/betheme-child/page.php on line 26
    How do I share line 26?
  • Some time ago we updated the code of BeTheme the  "mfn_builder_print(get_the_ID());" option has been changed to:
    $mfn_builder = new Mfn_Builder_Front(get_the_ID());
    $mfn_builder->show();

    You have to change that old line to those new lines.
    Thanks
  • OK, we are getting close.  There is a block of text missing that it Titled "About the Immigration Law Office" that is supposed to appear below the icon section and above the Contact Form.  It shows in the back-end, but does not render on the home page.
  • Is this text on the main page of that site you sent? I do not see it even in the HTML structure.
    Also, can you please check once more if you're no didn't leave any "mfn_opts_show()" in your files.
    Thanks
  • It does appear in the HTML section <div id="Content">  then skip several rows down to <h3>About The Immigration Law Office of Strang Immigration Law</h3> and the paragraph follows.
    The debug is not kicking out any additional errors.

    No more instances of "mfn_opts_show()" but I have found "mfn_builder_print( get_the_ID() );" in other child theme php files.  Do those need to be changed as well?  The instance I fixed was on line 26 in page.php.  This other instance is in 
  • If there is a private way to share the cPanel login, I would happy to share.  I need to get this fixed for this attorney.  Thanks.
  • Please send us WordPress dashboard access privately thru the contact form which is on the right side at http://themeforest.net/user/muffingroup#contact and we will check what might be the reason.

    Notice!
    Please attach a link to this forum discussion.



    Thanks
  • I didn't see it in HTML because I was on wrong website, exactly: https://www.docmarciaacupuncture.com/

    The strings are still there, but they are white.

    Please change the color of that element's text to other and everything will be okay.
    Thanks


  • I have restored the previous backup prior to trying to upgrade the theme to http://strang.proimpactllc.net

    If you compare the homepage on the sites, you can see that there are still some major problems.  Why would the homepage load on the site that hasn't been updated and elements disappear after update.

    It has dropped the background.
Sign In or Register to comment.