Error 500
-
Plugin Version 5.5
Whenever trying to access the dashboard I get an Error 500 (Internal Server Error) with the following added to the error log:
[Thu Jun 02 10:54:53.346733 2016] [fcgid:warn] [pid 11304] [client **.**.**.**:49307] mod_fcgid: stderr: PHP Fatal error: Class 'Yoast_Google_WPCache' not found in /home/linweb43/e/mydomain.co.uk-1087951545/user/htdocs/wp-content/plugins/google-analytics-for-wordpress/vendor/yoast/api-libs/google/Google_Client.php on line 90, referer: http://www.mydomain.co.uk/wp-admin/plugins.php?plugin_status=all&paged=1&s
Line 87 – 93 in the Google_Client.php file is as follows:
public function __construct($config = array()) { global $apiConfig; $apiConfig = array_merge($apiConfig, $config); self::$cache = new $apiConfig['cacheClass'](); self::$auth = new $apiConfig['authClass'](); self::$io = new $apiConfig['ioClass'](); }
Line 90 being self::$cache = new $apiConfig[‘cacheClass’]();
Any help? I guess it’s something to do with our server, but I’m not sure what
https://wordpress.org/plugins/google-analytics-for-wordpress/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Error 500’ is closed to new replies.