WPIntell

Source evidence

PHP Fatal error

MainWP Child – Securely Connects to the MainWP Dashboard to Manage Multiple Sites · support · 2023-09-08T04:42:00+00:00

mixedsentiment
highseverity
0.94relevance
3replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

2 / 31 rows with source links

6.5% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

29 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
mojamba resolved
Hi. I had some issues with the latest versions of MainWP and followed instructions on the MainWP Dashboard plugin’s support page to deactivate the child plugins, re-activate, reconnect, and sync the sites. That worked but I am getting error (!) symbols when I try to upgrade plugins. Actually, the plugins ARE upgrading but it seems like the dashboard plugin thinks they are not (when I resync the sites it does recognize that the previously updated plugins have indeed been updated). Today I saw this in my error logs. PHP Fatal error: Uncaught Error: Call to a member function bulk_upgrade() on array in /home/.../wp-content/plugins/mainwp-child/class/class-mainwp-child-updates.php:579 Note that I have sites across 3 servers but only one server is currently an issue (all sites on that server have the same PHP errors) so it is probably server related though I am at a loss to imagine what would be the issue. Any thoughts? Hi @mojamba The Fatal Error seems to be a consequence of server or host misconfiguration, and considering haven’t received any other reports regarding it, it would appear to be an edge case. Make sure that you are running PHP 7.4 or higher, and that both MainWP Dashboard (v4.5.1.1) and MainWP Child (v4.5.1) plugins are up to date. If the issue persists, please open a private Help Desk ticket so we can collect some additional information & investigate further: https://mainwp.com/my-account/get-support/ Thanks for the reply. That server is behind on PHP version but it is 7.4 which you seem to be saying should be fine. I just updated it to 8 so I’ll see if that makes any difference and report back (there are no plugin updates needed now so cannot test this moment). UPDATE: After upgrading my server to PHP 8.1 the problem no longer exists. Thanks for the help. This reply was modified 2 years, 8 months ago by mojamba .

Comments

3 shown
Bojan Katusic 2023-09-08T12:22:00+00:00

Hi @mojamba The Fatal Error seems to be a consequence of server or host misconfiguration, and considering haven’t received any other reports regarding it, it would appear to be an edge case. Make sure that you are running PHP 7.4 or higher, and that both MainWP Dashboard (v4.5.1.1) and MainWP Child (v4.5.1) plugins are up to date. If the issue persists, please open a private Help Desk ticket so we can collect some additional information & investigate further: https://mainwp.com/my-account/get-support/

mojamba 2023-09-08T12:57:00+00:00

Thanks for the reply. That server is behind on PHP version but it is 7.4 which you seem to be saying should be fine. I just updated it to 8 so I’ll see if that makes any difference and report back (there are no plugin updates needed now so cannot test this moment).

mojamba 2023-09-11T08:09:00+00:00

UPDATE: After upgrading my server to PHP 8.1 the problem no longer exists. Thanks for the help. This reply was modified 2 years, 8 months ago by mojamba .