• Resolved epgb101

    (@epgb101)


    In Buddypress – oddly the plugin has started crashing my search profiles page (/members/) when activated. I get; There has been a critical error on this website. I wonder if there is any solution to this or it’s somethin I have set wrong? I am using buddyX theme. It has started doing this since updating to BuddyPress 12.0.0. Thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter epgb101

    (@epgb101)

    p.s. This plugin was working fine with Buddypress Profile Fields until upgrading to Buddypress 12.0.0. Now my search page (no other pages in Buddypress) is saying Critical Error. I was wondering if there was a plan to upgrade to work with 12.0.0 – or perhaps you had another suggestion that I might me doing wrong? Thanks.

    Plugin Author shanebp

    (@shanebp)

    Thanks for the report. We cannot duplicate the issue on a fresh install.

    What exactly is the error?

    If you don’t know, install this plugin: https://wordpress.org/plugins/query-monitor/ and do another search.

    What are you using for your Profile Search?

    Thread Starter epgb101

    (@epgb101)

    Hi..
    thanks for reply. Here is what I got…
    (is this to do with the fact I installed WP in folder? (folder called /siteapp/ – see below)

    Fatal error: Uncaught Error: Undefined constant “BP_MEMBERS_SLUG”
    in /home2/*******/public_html/mysitename/siteapp/wp-content/plugins/bp-xprofile-location/inc/pp-location-search-support.php on line 203

    Call stack:

    1. pp_location_bps_form_action()
      wp-includes/class-wp-hook.php:324
    2. WP_Hook::apply_filters()
      wp-includes/class-wp-hook.php:348
    3. WP_Hook::do_action()
      wp-includes/plugin.php:517
    4. do_action()
      wp-content/plugins/bp-profile-search/bps-template.php:227
    5. bps_escaped_form_data49()
      wp-content/plugins/bp-profile-search/bps-template.php:169
    6. bps_escaped_form_data()
      wp-content/plugins/grimlock-buddypress/templates/members/bps-form-directory.php:24
    7. include()
      wp-content/plugins/bp-profile-search/bps-template.php:120
    8. bps_call_form_template()
      wp-content/plugins/bp-profile-search/bps-form.php:47
    9. bps_display_form()
      wp-content/plugins/bp-profile-search/bps-form.php:41
    10. bps_add_form()
      wp-includes/class-wp-hook.php:324
    11. WP_Hook::apply_filters()
      wp-includes/class-wp-hook.php:348
    12. WP_Hook::do_action()
      wp-includes/plugin.php:517
    13. do_action()
      wp-content/plugins/grimlock-buddypress/templates/members/index.php:35
    14. require()
      wp-includes/template.php:792
    15. load_template()
      wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php:222
    16. bp_locate_template()
      wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php:67
    17. bp_get_template_part()
      wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php:407
    18. bp_buffer_template_part()
      wp-content/plugins/buddypress/bp-members/classes/class-bp-members-theme-compat.php:144
    19. BP_Members_Theme_Compat::directory_content()
      wp-includes/class-wp-hook.php:324
    20. WP_Hook::apply_filters()
      wp-includes/plugin.php:205
    21. apply_filters()
      wp-content/plugins/buddypress/bp-core/bp-core-theme-compatibility.php:767
    22. bp_replace_the_content()
      wp-includes/class-wp-hook.php:324
    23. WP_Hook::apply_filters()
      wp-includes/plugin.php:205
    24. apply_filters()
      wp-includes/post-template.php:256
    25. the_content()
      wp-content/plugins/grimlock/inc/grimlock-template-functions.php:730
    26. grimlock_page_content()
      wp-includes/class-wp-hook.php:324
    27. WP_Hook::apply_filters()
      wp-includes/class-wp-hook.php:348
    28. WP_Hook::do_action()
      wp-includes/plugin.php:517
    29. do_action()
      wp-content/plugins/grimlock/inc/component/class-grimlock-page-component.php:41
    30. Grimlock_Page_Component::render()
      wp-content/plugins/grimlock/inc/class-grimlock.php:674
    31. Grimlock::page()
      wp-includes/class-wp-hook.php:324
    32. WP_Hook::apply_filters()
      wp-includes/class-wp-hook.php:348
    33. WP_Hook::do_action()
      wp-includes/plugin.php:517
    34. do_action()
      wp-content/themes/gwangi/inc/grimlock/grimlock-template-functions.php:416
    35. gwangi_grimlock_page()
      wp-includes/class-wp-hook.php:324
    36. WP_Hook::apply_filters()
      wp-includes/class-wp-hook.php:348
    37. WP_Hook::do_action()
      wp-includes/plugin.php:517
    38. do_action()
      wp-content/themes/gwangi/template-parts/content-page.php:20
    39. require()
      wp-includes/template.php:792
    40. load_template()
      wp-includes/template.php:725
    41. locate_template()
      wp-includes/general-template.php:206
    42. get_template_part()
      wp-content/themes/gwangi/buddypress.php:17
    43. include()
      wp-includes/template-loader.php:106
    44. require_once()
      wp-blog-header.php:19
    45. require()
      index.php:17
    Thread Starter epgb101

    (@epgb101)

    ps – yes I can let you login wp-admin if you can’t see the problem from above 🙂

    Plugin Author shanebp

    (@shanebp)

    Just released version 4.6 which should solve your issue. Please confirm.

    Thread Starter epgb101

    (@epgb101)

    That’s fixed it. Impressed by response – thank you 🙂

    dbaucom

    (@dbaucom)

    Having similar issue except it crashes my entire site.

    Fatal error: Uncaught Error: Undefined constant “BP_MEMBERS_SLUG”

    in C:\xampp\htdocs\******\wp-content\plugins\woffice-core\extensions\woffice-map\static.php on line 15

    Call stack:

    1. include()
      wp-content/plugins/unyson/framework/helpers/general.php:794
    2. fw_include_file_isolated()
      wp-content/plugins/unyson/framework/core/components/extensions.php:261
    3. _FW_Component_Extensions::include_extension_file_all_locations()
      wp-content/plugins/unyson/framework/core/components/extensions.php:636
    4. _FW_Component_Extensions::_action_enqueue_scripts()
      wp-includes/class-wp-hook.php:324
    5. WP_Hook::apply_filters()
      wp-includes/class-wp-hook.php:348
    6. WP_Hook::do_action()
      wp-includes/plugin.php:517
    7. do_action()
      wp-includes/script-loader.php:2262
    8. wp_enqueue_scripts()
      wp-includes/class-wp-hook.php:324
    9. WP_Hook::apply_filters()
      wp-includes/class-wp-hook.php:348
    10. WP_Hook::do_action()
      wp-includes/plugin.php:517
    11. do_action()
      wp-includes/general-template.php:3052
    12. wp_head()
      wp-content/themes/woffice 2/header.php:29
    13. require_once()
      wp-includes/template.php:790
    14. load_template()
      wp-includes/template.php:725
    15. locate_template()
      wp-includes/general-template.php:48
    16. get_header()
      wp-content/themes/woffice 2/page.php:10
    17. include()
      wp-includes/template-loader.php:106
    18. require_once()
      wp-blog-header.php:19
    19. require()
      index.php:17
    Plugin Author shanebp

    (@shanebp)

    Our plugin no longer uses “BP_MEMBERS_SLUG”.

    And your error message clearly shows that it come from the woffice-map extension: …\wp-content\plugins\woffice-core\extensions\woffice-map\static.php on line 15

    You need to contact woffice support.

    • This reply was modified 3 months ago by shanebp.
    dbaucom

    (@dbaucom)

    Yes you are correct, I’ve done further digging and upgrading Woffice has resolved the issue. Thank you.

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.