• Resolved Anthony Eden

    (@anthonyeden)


    Hello,

    If a non-admin user tries to login to WordPress while this plugin is activated, but not yet connected to the API, it crashes with the following stack trace:

    PHP message: PHP Fatal error: Uncaught Error: Call to a member function admin_page_url() on null in /home/example.com/public_html/wp-content/plugins/optinmonster/OMAPI/Welcome.php:353
    Stack trace:
    #0 /home/example.com/public_html/wp-content/plugins/optinmonster/OMAPI/Pointer.php(85): OMAPI_Welcome->get_link()
    #1 /home/example.com/public_html/wp-includes/class-wp-hook.php(287): OMAPI_Pointer->load_pointer(‘index.php’)
    #2 /home/example.com/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #3 /home/example.com/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #4 /home/example.com/public_html/wp-admin/admin-header.php(102): do_action(‘admin_enqueue_s…’, ‘index.php’)
    #5 /home/example.com/public_html/wp-admin/index.php(111): require_once(‘/var/www/donate…’)
    #6 {main}
    thrown in /home/example.com/public_html/wp-content/plugins/optinmonster/OMAPI/Welcome.php on line 353

    This only started happening with the latest update to the plugin, on WordPress 5.5. I have not tested previous versions.

    Thanks,
    Anthony.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Justin Sternberg

    (@jtsternberg)

    I’m sorry you experienced this. We have just pushed version 1.9.15 which addresses this issue. Please let us know if you have any other issues!

    Hey Anthony,

    Thanks for reporting the issue, we totally appreciate it ??

    We just pushed out a fix to this issue with our latest plugin update 1.9.15. If you can go ahead and update your plugin, you should be good to go.

    Please let us know just in case you find any difficulties with your plugin. You can also write to us on [email protected]

    Thanks for being the best part of OptinMonster!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin Breaks Non-Admin Login on WordPress 5.5’ is closed to new replies.