• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

[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