Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
litespeed_wiki:cpanel:whm-plugin-cache-manager-error-status [2018/06/04 14:25]
Michael Alegre [WHM Plugin - Cache Manager Error Status]
litespeed_wiki:cpanel:whm-plugin-cache-manager-error-status [2019/05/09 13:07]
Jackson Zhang [Detected WordPress version as x.x. Version 4.0 required at minimum]
Line 56: Line 56:
 **Resolution:​** Confirm that this installation has a valid ''​wp-config.php''​ file. If the ''​wp-config.php''​ file is kept more than 1 directory above the root installation using symbolic links, it will need to be moved to the installation root or parent directory. **Resolution:​** Confirm that this installation has a valid ''​wp-config.php''​ file. If the ''​wp-config.php''​ file is kept more than 1 directory above the root installation using symbolic links, it will need to be moved to the installation root or parent directory.
  
 +===== Unexpected Error Encountered! See webcachemgr.log for more information =====
 +
 +After migrating all cPanel WordPress accounts to another server,and then scanning to manage with LiteSpeed, the following error was noticed on almost all accounts:
 +
 +  /​home/​user1/​public_html - Install skipped due to Error status. Please Refresh Status before trying again.
 +
 +After refreshing the status, the error changed to the following, still on nearly all accounts:
 +
 +  /​home/​user1/​public_html - Unexpected Error Encountered! See webcachemgr.log for more information.
 +  /​home/​user2/​public_html - Unexpected Error Encountered! See webcachemgr.log for more information.
 +  /​home/​user3/​public_html - Unexpected Error Encountered! See webcachemgr.log for more information.
 +  ...
 +
 +''/​usr/​local/​lsws/​logs/​webcachemgr.log''​ showed the following:
 +
 +  2019-02-04 17:30:07 [ERROR] /​home/​user1/​public_html - Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
 +  2019-02-04 17:30:07 [ERROR] /​home/​user2/​public_html - Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
 +  2019-02-04 17:30:07 [ERROR] /​home/​user3/​public_html - Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
 +
 +It looked like the PHP configuration was wrong and was missing the MySQL module. ​
 +
 +The cPanel MultiPHP Manager showed PHP 7.2 (alt-php72) was set to the system default PHP version, and all accounts inherited it. It appeared something was wrong with alt-PHP72 in this case. Changing the default to ea-php72 solved the problem, and all LiteSpeed Cache enabling errors disappeared.  ​
 +===== Could not include missing file =====
 +  /​home/​user/​public_html - Could not include missing file /​home/​user/​public_html/​wp-load.php.
 +
 +=====  Could not find matching document root =====
 +  /​home/​user/​public_html/​blog_old - /​home/​user/​public_html/​blog_old - Could not find matching document root for WP siteurl/​servername example.com.
 +
 +===== Unexpected Error Encountered! Error establishing a database connection =====
 +  /​home/​user/​public_html - Unexpected Error Encountered! Error establishing a database connection.
 +
 +===== Detected WordPress version as x.x. Version 4.0 required at minimum =====
 +  /​home/​user/​public_html/​example.com - Detected WordPress version as 3.4. Version 4.0 required at minimum.
 +
 +===== Undefined variable: wp_version =====
 +  /​home/​user/​public_html/​__MACOSX - Notice: Undefined variable: wp_version in /​usr/​local/​lsws/​add-ons/​webcachemgr/​src/​WPCaller.php on line 1145 Notice: Undefined variable: wp_version in /​usr/​local/​lsws/​add-ons/​webcachemgr/​src/​WPCaller.php on line 1146 Detected WordPress version as . Version 4.0 required at minimum
 ===== Still Need Help? ===== ===== Still Need Help? =====
  
 If you are still running into issues after learning about the cases above, please [[https://​www.litespeedtech.com/​support|contact our support team]] for further assistance. If you are still running into issues after learning about the cases above, please [[https://​www.litespeedtech.com/​support|contact our support team]] for further assistance.
  • Admin
  • Last modified: 2021/10/06 15:19
  • by Lisa Clarke