• WordPress 6.4.2, PHP 8.2.17, nginx – following error in the log (out of a sudden, no active action with wpforms):

    [30-Dec-2023 11:22:30 UTC] PHP Fatal error:  Uncaught Error: Call to private Members\Admin\Manage_Users::__construct() from scope WPForms\Logger\Log in /wp-content/plugins/wpforms-lite/src/Logger/Log.php:37
    Stack trace:
    #0 /wp-content/plugins/wpforms-lite/src/WPForms.php(321): WPForms\Logger\Log->hooks()
    #1 /wp-content/plugins/wpforms-lite/src/WPForms.php(328): WPForms\WPForms->WPForms\{closure}()
    #2 /wp-content/plugins/wpforms-lite/src/WPForms.php(346): WPForms\WPForms->register(Array)
    #3 /wp-content/plugins/wpforms-lite/src/Loader.php(30): WPForms\WPForms->register_bulk(Array)
    #4 /wp-content/plugins/wpforms-lite/src/WPForms.php(321): WPForms\Loader->init()
    #5 /wp-content/plugins/wpforms-lite/src/WPForms.php(328): WPForms\WPForms->WPForms\{closure}()
    #6 /wp-content/plugins/wpforms-lite/src/WPForms.php(236): WPForms\WPForms->register(Array)
    #7 /wp-content/plugins/wpforms-lite/src/WPForms.php(175): WPForms\WPForms->includes_magic()
    #8 /wp-content/plugins/wpforms-lite/src/WPForms.php(125): WPForms\WPForms->includes()
    #9 /wp-content/plugins/wpforms-lite/src/WPForms.php(422): WPForms\WPForms::instance()
    #10 /wp-content/plugins/wpforms-lite/wpforms.php(285): wpforms()
    #11 /wp-settings.php(473): include_once('/home/htdocs/u9...')
    #12 /wp-config.php(100): require_once('/home/htdocs/u9...')
    #13 /wp-load.php(50): require_once('/home/htdocs/u9...')
    #14 /wp-admin/admin.php(34): require_once('/home/htdocs/u9...')
    #15 /wp-admin/index.php(10): require_once('/home/htdocs/u9...')
    #16 {main}
      thrown in /wp-content/plugins/wpforms-lite/src/Logger/Log.php on line 37

    how can this be fixed?

    Thx

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Kenneth Macharia

    (@kmacharia)

    Hi @harmr,

    Thanks for reaching out and sorry for the trouble there!

    I’ve just created a similar local install using a similar enviroment but I could not reproduce the issue with logging enabled in WPForms. Would you mind letting me know if you have some specific set of steps that I can take to reproduce the error on my end?

    Thanks!

    Hi Kenneth,

    I think the issue was related to a WAF issue – once this was solved, the wpforms issues also did not occur anymore. So the issue can be closed IMO.

    best,

    Robert

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fatal error when using the plugin’ is closed to new replies.