- Plesk 12.5 for Linux
Website based on WordPress shows 500 error.
The following error can be found in websites error_log
PHP Fatal error: Cannot redeclare add_shortcode() (previously declared in /var/www/vhosts/example.com/wp-includes/shortcodes.php:89) in /var/www/vhosts/example.com/shortcodes.php on line 106
file with updated WordPress.
Rename the file:
# mv /var/www/vhosts/example.com/shortcodes.php /var/www/vhosts/example.com/shortcodes.php_old