• Resolved rpgbarlow

    (@rpgbarlow)


    Using DEBUG the following error is caused if trying to view any item in the wordpress dashboard menu WPForms . It does not happen when the PMP-bbpress is disabled.

    Fatal error: Uncaught Error: Call to a member function get() on null in *****/wp-includes/query.php:28 Stack trace: 
    #0 *****/wp-content/plugins/bbpress/includes/common/template.php(2165): get_query_var('_bbp_query_name') 
    #1 *****/wp-content/plugins/bbpress/includes/common/template.php(2154): bbp_get_query_name() 
    #2 *****/wp-content/plugins/bbpress/includes/common/template.php(922): bbp_is_query_name('bbp_search_resu...') 
    #3 *****/wp-content/plugins/pmpro-bbpress/pmpro-bbpress.php(63): bbp_is_search_results() 
    #4 *****/wp-includes/class-wp-hook.php(292): pmprobb_filter_forum_search_results(Object(WP_Query)) 
    #5 *****/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(Object(WP_Query), Array) 
    #6 *****/wp-includes/plugin.php(551): WP_Hook->do_action(Array) 
    #7 *****/wp-includes/class-wp-query.php(1784): do_action_ref_array('pre_get_posts', Array) 
    #8 *****/wp-includes/class-wp-query.php(3465): in *****/wp-includes/query.php on line 28
Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter rpgbarlow

    (@rpgbarlow)

    These two messages were also under the main error message:

    Notice: is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in *****/wp-includes/functions.php on line 5313

    Notice: is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in *****/wp-includes/functions.php on line 5313

    Thread Starter rpgbarlow

    (@rpgbarlow)

    I allowed WPForms access to me site and they were able to replicate the issue. Here is their message:
    ———- Forwarded message ———
    From: WPForms <[email protected]>
    Date: Fri, 21 May 2021 at 20:40

    Thank you for contacting us!?I’ve been able to log in to your site and I was able to replicate the issue. We had a previous encounter with this error in a similar environment and our investigation pointed to Paid Memberships Pro – bbPress Add On. I believe that their development team is in a better position to take it from here. I hope this helps! Let me know if we can offer additional help.

    Thanks! ??
    Technical Support
    [email protected]

    Plugin Author Andrew Lima

    (@andrewza)

    Hi @rpgbarlow

    Thank you for bringing this to our attention. Our team is looking into this – I do not have a timeframe for a solution as we are still troubleshooting this further.

    Is there any more debug information that points to Paid Memberships Pro – bbPress line of code in question?

    I didn’t find an is_embed inside the Paid Memberships Pro bbPress Integration, any other debug information may help us track this down.

    Plugin Author Andrew Lima

    (@andrewza)

    Hi @rpgbarlow

    I’ve recreated this issue and was able to resolve it. It still needs some testing, but here is a pre-release that you can test on your site – https://github.com/strangerstudios/pmpro-bbpress/pull/35/files

    This fix should be merged into a future release, if all tests pass okay.

    Thread Starter rpgbarlow

    (@rpgbarlow)

    Looks as though you’ve fixed it. Good work, thanks!

    Plugin Author Andrew Lima

    (@andrewza)

    I’m glad to hear this worked for you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Crash when viewing WPForms in dashboard’ is closed to new replies.