Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Solution to ‘WordPress error: Call to a member function do_action()’ in Plesk  (Read 1922 times)

0 Members and 1 Guest are viewing this topic.

aneeshs

  • Guest
 
The "PHP Fatal error: Call to a member function do_action() on a non-object in *location*\plugin.php on line 675" is normally seen in Plesk panel while trying to upgrade the WordPress version

The error happens due to the unsupported underlying Plesk versions with the latest WordPress 4.7 version. WordPress 4.7 support has started from Plesk 12.0 and beyond and the error is noticed in the prior versions of Plesk.

Running microupdates in the Plesk server resolves the error and the following commands can be used for achieving it:

In Linux - Plesk 11.x/12.0:
Code: [Select]
# /usr/local/psa/admin/sbin/autoinstaller --select-product-id plesk --select-release-current --reinstall-patch --install-component panel
In Windows - Plesk 11.x/12.0:
Code: [Select]
"%plesk_bin%\ai.exe" --console --select-product-id panel --select-release-current --reinstall-patch --install-component panel
Plesk 12.5 - Windows/Linux:
Code: [Select]
plesk installer --select-release-current --reinstall-patch --upgrade-installed-components
:D