• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

[SOLVED] Plesk 12.5 - Wordpress module: PHP fatal error

Alban Staehli

Regular Pleskian
Hi,

In Plesk 12.5 (centos 7 / Update 12), I've the following error message when I try to visualize a wordpress install that was initially not done through the application installer:

PHP:
PHP Fatal error: Call to undefined function get_option() in /var/www/vhosts/domain.tld/httpdocs/wp-content/plugins/xcalendar/xcalendar.php on line 266

It used to work fine, I was even able to sync the installation and execute some security patches through Plesk.

Any idea on what to do to avoid the error message?
Thx.
 
Hello Alban,

I don't think this is a Plesk related problem ..This must be entirely a WP issue ..
However, usually that error signifies missing or un-called / included files.

A bit of Googling suggests that you re-upload to (wp-includes) some few files from a clean WP installation such as:
  • functions.php
  • functions.wp-scripts.php
  • functions.wp-styles.php
I guess what you only need to upload is the second file, but don't experiment, upload them all and let us know if that resolves the problem!
 
Hi Alban Staehli,

you should investigate your issue more closely, because your described issue points to a wordpress hack. I recommend to de-aktivate the fake plugin, if possible over the dashboard, rename the folder "/var/www/vhosts/domain.tld/httpdocs/wp-content/plugins/xcalendar" to "/var/www/vhosts/domain.tld/httpdocs/wp-content/plugins/.inactive_xcalendar" and consider to post the content of the file "xcalendar.php" and all other files in the folder "/var/www/vhosts/domain.tld/httpdocs/wp-content/plugins/.inactive_xcalendar" for further investigations and post as well a list of your currently installed plugins, please.

For further investigations, please consider as well to inspect previously added or changed files in the folder "/var/www/vhosts/domain.tld/httpdocs/", because there might be more left-overs from the fake plugin, than the ones in the folder "xcalendar" ( now renamed to ".inactive_xcalendar" ).
 
Back
Top