Uncaught TypeError (nginx/PHP 7.2)
-
Updated one of my Roots Trellis/Bedrock sites to the latest version of the plugin and am getting an Uncaught TypeError that takes out the whole site:
2018/08/15 21:59:07 [error] 17399#17399: *57456 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: Argument 1 passed to WSAL_ViewManager::AddInstance() must be an instance of WSAL_AbstractView, instance of WSAL_Views_SetupWizard given, called in /srv/www/example.com/releases/20180811233253/web/app/plugins/wp-security-audit-log/classes/ViewManager.php on line 91 and defined in /srv/www/example.com/releases/20180811233253/web/app/plugins/wp-security-audit-log/classes/ViewManager.php:99 Stack trace: #0 /srv/www/example.com/releases/20180811233253/web/app/plugins/wp-security-audit-log/classes/ViewManager.php(91): WSAL_ViewManager->AddInstance(Object(WSAL_Views_SetupWizard)) #1 /srv/www/example.com/releases/20180811233253/web/app/plugins/wp-security-audit-log/classes/ViewManager.php(82): WSAL_ViewManager->AddFromClass('WSAL_Views_Setu...') #2 /srv/www/example.com/releases/20180811233253/web/app/plugins/wp-security-audit-log/classes/ViewManager.php(58): WSAL_ViewManager->AddFromFile('/srv/www/meliss...') #3 /" while reading response header from upstream, client: 81.2.101.211, server: example.com, request: "GET /wp/wp-admin/plugins.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm-wordpress.sock:", host: "example.com"
Had to rename the plugin folder to get the site working again. As it’s a Roots Trellis server it’s running nginx and PHP 7.2. Any suggestions for a fix? Thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Uncaught TypeError (nginx/PHP 7.2)’ is closed to new replies.