I use WordPress with Avada theme in several websites. I repeatedly get this fatal error from Query Monitor & don’t know what to do to correct it. Moreover, I get an identical message (even same line numbers…) on another website I manage.
Full message is:
“Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /home/wecoopd/www/wp-admin/update-core.php on line 520
Call stack:
list_plugin_updates()
wpadmin/update-core.php1125 “
Fatal error: Uncaught Error: Call to undefined function wp_get_update_php_annotation() in /homepages/35/d654296717/htdocs/clickandbuilds/LuxiumDev/wp-admin/update-core.php:88 Stack trace: #0 /homepages/35/d654296717/htdocs/clickandbuilds/LuxiumDev/wp-admin/update-core.php(268): list_core_update(Object(stdClass)) #1 /homepages/35/d654296717/htdocs/clickandbuilds/LuxiumDev/wp-admin/update-core.php(764): core_upgrade_preamble() #2 {main} thrown in /homepages/35/d654296717/htdocs/clickandbuilds/LuxiumDev/wp-admin/update-core.php on line 88
I’m using WP 5.1.4. Can someone provide a solution?
]]>Checked permissions, all good. Only started since installing Securi
I have searched everywhere online as well as here in the forums and can’t find anything regarding that is the same issue or anything that is a tangible fix
Please help, this just appeared after i changed hosting providers (which i’ve notified them as well, but don’t think they assist with wordpress)
Any assistance is grealty appreciated!!
Aline
MySQL server has gone away in /blahblah/wp-includes/wp-db.php on line 1868, referer: https://www.3cs.ch/wp-admin/update-core.php?action=do-plugin-upgrade
These errors are displayed in a sporadic, but not infrequent, way. They are clearly not related to specific plugins.
However, if I update plugins using plugins.php (that is, clicking on “update now” for the relevant plugin), I never see those database errors.
I conclude that there is probably some code either in or being called by wp-db.php or update-core.php that does not get called by plugins.php that is either buggy or not well optimized.
I don’t think this is uniquely an issue with the tuning of parameters on my platform. Changing packet size, allocating more memory and extending timeouts have no effect on the problem.
Has anyone else observed this?
]]>We are facing an issue with accessing only /wp/wp-admin/plugins.php and wp-admin/update-core.php. All other links are loading fine. This is shared server – CloudLinux Server release 6.8 and the issue is not only for a particular domain. Every wordpress sites in the server is facing the issue.
The only error log available is “Premature end of script headers: cgi_wrapper, referer: https://domain.tld/wp/wp-admin/index.php”
We have tried with the following
===========
1. checked with the php handlers in the server and tried changing it from Apache, cgi and fast-cgi options.
2.Confirmed that there is enough memory in the server.
3.Checked with the files and folder permissions.
4.Backed up plugins and themes and then tried loading the link.
5.Tried loading the links after reconfiguring the domain.
6. increases the PHP memory limit.
===========
But still the issue persists.
FYI :recently an Os update was performed in the server.
The issue is not only with a specific wordpress version.
Any fix or suggestions?
]]>When my site needs updates, the number that need updating shows at the top left of the Desktop screen. When I click on that recycle logo, I go to the page: wp-admin/update-core.php, as I should.
Once in a blue moon (approximately,) that page actually shows the plugins that need to be updated. But 95% of the time, it show no plugins needing updates, even though there are outdated ones on the site.
I end up guessing which ones they are, deactivating them and re-activating them. In the process, the ones that need updating are individually found.
Why would the update-core.php file suddenly work only 5% of the time? This failure makes the process long and difficult. And the intermittent performance is odd.
(I have 12 other sites that have not seen this problem. They are on other servers, in case that makes a difference. Two of them do have the same theme.)
Thanks.
]]>Now, when I visit the dashboard page, I receive an error:
Fatal error: require_once() [function.require]: Failed opening required '/path/to/public_html/wp-admin/wp-includes/load.php' (include_path='.:/usr/local/lib/php') in /path/to/public_html/wp-admin/wp-load.php on line 49
It seems odd that WP is trying to reference the “wp-includes” directory inside wp-admin directory. That directory doesn’t exist (but there is a wp-admin/includes directory).
Btw, I can use the wp-admin/edit.php page just fine. It has no such problem.
What’s the quickest way to resolve this issue? Any help would be much appreciated.
]]>