• Resolved purbeckpixels

    (@purbeckpixels)


    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.

    • This topic was modified 6 years, 6 months ago by purbeckpixels.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support robertabela

    (@robert681)

    Hello @purbeckpixels,

    Thank you for opening a new ticket.

    Can you please let us know from which version of the plugin are you upgrading?

    Thread Starter purbeckpixels

    (@purbeckpixels)

    Hello. I just did a fresh Trellis server provision and deploy of the site in question (with the latest version of the plugin already installed and activated) and everything seems to be working fine again. Local Vagrant VM seems fine too. Must’ve been something to do with the update from 3.2.2.2 to 3.2.3.1. Anyway, all’s well again. Thanks.

    Plugin Support robertabela

    (@robert681)

    Ok it seems the issue was addressed in 3.2.3.1 as the developers suggested.

    Glad it is sorted. Please do not hesitate to get in touch in case you have any further queries.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Uncaught TypeError (nginx/PHP 7.2)’ is closed to new replies.