• Resolved blakmarkit

    (@blakmarkit)


    Hello! I get a fatal error when upgrading to 3.0.97 while having auth0’s WP plugin installed. I’m using composer + wpackagist to update. I started testing on a local environment. I tried php 7.4 and 8.0. I believe that I’ve tested with both auth0’s 4.3.1 and 4.5.0 plugins. WordPress core 6.1.1. There previously hasn’t been a conflict.

    UI Press was on 3.0.95—upgraded directly to 3.0.97 and crashed, so I downgraded back to 3.0.95. I then incremented up to 3.0.96, and that worked fine. I was able to deploy that update to stage, then production. My assumption was that there was something about skipping a version that was causing the issue. After that, I updated 3.0.96 to 3.0.97 on local, and that seemed to work, but when I deployed that update to a staging environment, it crashed again.

    [16-Feb-2023 17:27:55 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get() on null in C:\Users\user\Local Sites\<site>\app\public\wp-includes\query.php:28
    Stack trace:
    #0 C:\Users\user\Local Sites\<site>\app\public\wp-content\plugins\auth0\functions.php(105): get_query_var('auth0_login_suc...')
    #1 C:\Users\user\Local Sites\<site>\app\public\wp-content\plugins\auth0\WP_Auth0.php(752): wp_auth0_can_show_wp_login_form()
    #2 C:\Users\user\Local Sites\<site>\app\public\wp-includes\class-wp-hook.php(310): wp_auth0_filter_login_override_url('https://datacla...')
    #3 C:\Users\user\Local Sites\<site>\app\public\wp-includes\plugin.php(205): WP_Hook->apply_filters('https://datacla...', Array)
    #4 C:\Users\user\Local Sites\<site>\app\public\wp-includes\general-template.php(459): apply_filters('login_url', 'https://datacla...', '', false)
    #5 C:\Users\user\Local Sites\<site>\app\public\wp-content\plugins\uipress-lite\admi in C:\Users\user\Local Sites\<site>\app\public\wp-includes\query.php on line 28

    From my testing, I believe:

    • auth0 4.3.1 + uipress-lite 3.0.95 ?
    • auth0 4.5.0 + uipress-lite 3.0.95 ?
    • auth0 4.3.1 + uipress-lite 3.0.96 ?
    • auth0 4.5.0 + uipress-lite 3.0.96 ?
    • auth0 4.3.1 + uipress-lite 3.0.97 ?
    • auth0 4.5.0 + uipress-lite 3.0.97 ?
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author UiPress

    (@admintwentytwenty)

    Hey,

    This should be fixed now in version 3.0.97 – We started using the function ‘wp_login_url’ from version 3.0.96 to distinguish between front end pages and login pages.

    auth0 plugin is hooked into this and didn’t like the time at which we were calling it so we have managed to delay the call a little bit and it seems to have fixed the conflict.

    Let us know if you have any other issues.

    Mark

    Thread Starter blakmarkit

    (@blakmarkit)

    Error appears resolved. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘uipress 3.0.97 conflict with auth0 plugin’ is closed to new replies.