• Resolved demicichairs

    (@demicichairs)


    Getting this error message – can’t log into wordpress dashboard at all can someone help.

    PHP Fatal error: Call to undefined function get_woocommerce_term_meta() in /var/www/vhosts/contractinteriors.co.uk/contractfurnituremanufacturers.co.uk/wp-content/themes/maxstore-pro/lib/shortcodes.php on line 627

Viewing 12 replies - 1 through 12 (of 12 total)
  • You would use ftp or your host’s file manage software to rename the offending theme or plugin directory. This will deactivate that element. If you rename a theme directory, WP will fall back to a default theme.

    This error looks like your plugin or theme is not up-to-date, so ensure everything is the latest version.

    Thread Starter demicichairs

    (@demicichairs)

    How do I know what to rename it to? Was all fine first thing this morning but said to update the wordpress plugin to latest version and ever since I can’t log into the admin side of website and access anything.

    I logged into the ftp and uninstalled and reinstalled the newest woocommerce theme and still nothing works.

    Plugin Contributor Mike Jolley

    (@mikejolley)

    The issue is that your theme, maxstore-pro, calls the get_woocommerce_term_meta function without first checking if a) WooCommerce is installed, and b) get_woocommerce_term_meta function exists.

    During updates, WordPress deactivates the plugin being updated (WooCommerce) so if the theme or other plugin continues to call this function, it won’t exist, and it will fatal error.

    Rename the theme directory so it’s disabled temporarily, and notify the theme developer about what I just said.

    You can rename the theme directory to anything, it will be taken out-of-play.

    Thread Starter demicichairs

    (@demicichairs)

    Thanks Mike and Lorro – I’ve renamed the theme in my ftp but still cant access my WordPress admin panel. I’ve read online that when renaming the theme directory you also have to do it in my style.css, is this correct?

    Plugin Contributor Mike Jolley

    (@mikejolley)

    I don’t think so, if you rename wp-content/themes itself no theme will load afaik.

    Thread Starter demicichairs

    (@demicichairs)

    Tried that and I still can’t even get into my WP dashboard. Notified the theme developer of what you said in the thread earlier and they just advised to rename like you have but it’s still not working.

    Getting this message when trying to view the website itself.

    The theme directory “maxstore-pro” does not exist.

    • This reply was modified 8 years, 4 months ago by demicichairs.
    Plugin Contributor Mike Jolley

    (@mikejolley)

    If you enable WP_DEBUG https://codex.www.ads-software.com/Debugging_in_WordPress, what do you see when going to admin dashboard?

    As a test, I have renamed my active /themes/my-theme directory thinking that Twenty Sixteen should load, but it did not. This used to be the behaviour, so it looks like WordPress has changed.

    The guidance:
    https://codex.www.ads-software.com/Login_Trouble “Deactivate Theme” paragraph still says WordPress will revert to Twenty Sixteen.

    Stuck.

    Thread Starter demicichairs

    (@demicichairs)

    Thanks for your help. I enabled that and when trying to log into my dashboard it came up with a different error message. In that code was errors about 2 of my other plug ins – I removed these and now I can log into my WP dashboard.

    It has however thrown my whole website. I had a product catalogue plug in which is now not working. Will have to try reinstalling some plugins to hopefully get the site back up.

    Thread Starter demicichairs

    (@demicichairs)

    Finally sorted it all now! Thanks for both your help.

    I’m having this same problem!

    My website is jjmcavoy.com

    However I can’t get in to the dashboard or even see the website anymore. I still have cpancel control?

    I was trying to deactivate a plugin above my WooCommerce but deactivated my WooCommerce instead. Which has led me into this whole mess.

    I can’t contact my theme-developer because he never replies. (It drives me up the wall) I’m not sure what to do at this point and I’m worried I’ll lose all the files I worked on.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Updated plug in and site is now broken’ is closed to new replies.