Woocommerce force update database stucked - woocommerce

After we upgraded woocommerce to the latest version (3.4.4), the message keeps appearing
“WooCommerce data update – Your database is being updated in the background. Taking a while? Click here to run it now.”
When we clicked on the ‘Click here to run it now’, it shows a HTTP 500 error and when we reload the page, it shows the woocommerce general setting page.
I looked at the debug report and its says:
"
PHP Fatal error: Call to a member function remove_cap() on null in /home/artgrain/public_html/wp-content/plugins/woocommerce/includes/wc-update-functions.php on line 1367
"
Does anyone knows how to fix this issue? I have someone told me it is my theme outdated but when I deactivated all plugins and theme to install twenty-seventeen only, this error still persists.
I appreciate your help, thank you very much!

Related

WordPress Updated: "Plugin not found" message when check for changelog

Recently I am seeing often (not always) this message when there is a plugin update and I click to the new version link to see the changelog:
Wordpress update message
I can't figure out why. Any ideas?
Thanks

I keep getting a blank admin page?

I have a WordPress site and now for some reason it no longer allows me to make changes via the admin backend. I just have this blank GUI, none of which make any change if you click on them
I just added a plugin called Monster insights to align the site with google analytics and since then I get this result. I have tried to rename the plugins folder to manually remove them out of the equation and still no luck. I have reviewed the Log file with little luck as well.
[04-Jun-2019 08:57:05 UTC] PHP Fatal error: Call to undefined function wp_is_recovery_mode() in /home/erwinb411/public_html/wp-admin/includes/update.php on line 840
[04-Jun-2019 08:18:10 UTC] PHP Warning: include_once(): Failed opening '/home/erwinb411/public_html/wp-content/themes/theme52521/includes/register-plugins.php' for inclusion (include_path='.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in
i think is a problem of plugin's compatibility in your site.
Have you try to update wordpress core, plugin and theme?
if after update all you have the same problem is an compatibility issue.
Let me know.

Plugin could not be activated because it triggered a fatal error

I am Using MyMail - Email Newsletter Plugin for WordPress
MyMail - Email Newsletter Plugin for WordPress :::: advanced Newsletter Plugin for WordPress. Create, Send and Track your Newsletter Campaigns
Version 1.6.6.1 | By revaxar
When I try to activate this plugin i got an Fatal Error (Plugin could not be activated because it triggered a fatal error.)
as in
............................................................
http://codecanyon.net/item/mymail-email-newsletter-plugin-for-wordpress/3078294/comments?page=24
Discussion on MyMail - Email Newsletter Plugin for WordPress
please open the wp-content/plugins/myMail/classes/templates.class.php
and remove this line around #657:
$this->copy_templates()
and try again
.......................................
i tried a lot like PHP version related issue and all but could't get any proper solution to resolve it
Plugin produces fatal error when attempting to activate .The big question I have now is this: What is the cause of this fatal error and how can I fix it? Can someone help me interpret so I can begin to see how I might overcome these fatal errors?
Please try to update your wordpress version and that plugin version usually this problem occurs when plugin was coded for previously developed wordpress. there may be the compatibility issue in wordpress and plugin.

How to solve this error in Activating WP Plugin?

I am trying to activate this plugin http://wordpress.org/extend/plugins/thethe-layout-grid/ after installing it
but I got this error : Plugin could not be activated because it triggered a fatal error.
how can I solve this problem ?
asking in the WordPress plugin's support page
disabling all other plugins and try to activate TheThe plugin, if it works go enabling the others one by one till you find the conflict
making sure you're using the minimun required WP version by the plugin (Requires at least: 3.0)
checking your server error log to see if there's a clue there

Notice: register_uninstall_hook was called incorrectly

I automatically updated my wordpress installation to the latest version. Everything looked normal unit "updating database..." where it got stuck. I waited for a long while and then closed the page, since nothing was happening.
Then I got a error message saying something about maintenance, which I got rid of after deleting the maintenance file.
Wordpress displays that it runs the latest version, but when I try to reinstall I get the same errror. I've tried disabling all plugins and switch to the default theme, but no luck.
I set the debug to true and I got this message:
Notice: register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information.
Everything looks normal except a image on the front page is breaking the layout.
Any tips?
The way I fixed this type of problem, was to do a global search in my project for the function call.
Some plugins had been installed which had calls such as this:
register_uninstall_hook(__FILE__, array($this,'uninstall_removedata'));
but it should be this:
register_uninstall_hook( __FILE__, 'uninstall_removedata');
If you see a message that something is called incorrectly, the Codex can be very helpful to make sure you use the correct syntax.
In this case it is here:
http://codex.wordpress.org/Function_Reference/register_uninstall_hook
Some WordPress Plugin which you have installed is firing the uninstall hook and is not setup properly.
Can you find the path to the file from the error message?

Resources