Websites are not loading: Call to undefined function import_request_variables()

Created:

2016-11-16 12:46:25 UTC

Modified:

2017-06-20 03:41:04 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Websites are not loading: Call to undefined function import_request_variables()

Applicable to:

  • Plesk 12.5 for Windows

Symptoms

Websites are not loading.

The following error can be found in website log /var/www/vhosts/example.com/logs/error_log :

PHP Fatal error:  Call to undefined function import_request_variables() in /var/www/vhosts/example.com/httpdocs/index.php on line 33

Cause

Code optimized for another PHP version.

Resolution

Switch website to PHP 5.3 in Plesk > Domains > domain_name > Hosting Settings : choose FastCGI handler and select php 5.3 from drop-down menu.

Have more questions? Submit a request
Please sign in to leave a comment.