Problem upgrading the theme.

I just bought a new license a clients site there was on Betheme version 17.8.8.

I deleted the old's betheme theme folder and replaced with the new one, have made this on other clients sites and aways worked fine, but on this one I'm getting this error and don't know what to do:

Fatal error: Uncaught Error: Call to undefined function str_contains() in /home/dralcimar/public_html/wp-content/themes/betheme/functions/theme-head.php:1128 Stack trace: #0 /home/dralcimar/public_html/wp-includes/class-wp-hook.php(287): mfn_scripts('') #1 /home/dralcimar/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #2 /home/dralcimar/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /home/dralcimar/public_html/wp-includes/script-loader.php(2001): do_action('wp_enqueue_scri...') #4 /home/dralcimar/public_html/wp-includes/class-wp-hook.php(287): wp_enqueue_scripts('') #5 /home/dralcimar/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #6 /home/dralcimar/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #7 /home/dralcimar/public_html/wp-includes/general-template.php(3009): do_action('wp_head') #8 /home/dralcimar/public_html/wp-content/themes/betheme/header.php(21): wp_head() #9 /home/dralcimar/public_html/wp-includ in /home/dralcimar/public_html/wp-content/themes/betheme/functions/theme-head.php on line 1128


I had to keep the 17.8.8 version for now, while wait for your help on resolving this problem!

Thank you!

Comments

  • Hi,

    We located the source of this issue and will release an update to fix that today.

    After the update, please, download the package again, upload it, and check if everything is fine.


    Best regards

  • Thank you, I made the update now and its working, but there is only one problem now.


    The logo image configured on betheme options is not appearing, i tried remove the logo end add again, upload it again and nothing changes, instead a have the text of the site name. Inspecting the #logo i see there is no img tag like on my other sites with betheme.

    Obs: In meantime i made a js function to inject a img tag on #logo so the site can have a logo

    Can you help me to solve the problem?


    thank you

  • Please attach a link to your website so we can check it out. If the page is offline(localhost), then our help will be limited. You will have to contact us when the page is online. Also, please make sure that the page is not under maintenance before you provide us with the link.

    Thanks

  • Sure, no problem, I commented the js function so you can see whats is happening.


    https://clinicaterapeuticadralcimar.com/

  • Please go to Betheme -> Theme options -> Global -> Logo, and if you have any text placed in the Text Logo field, remove it.

    If you do not see anything there, 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

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.