Find Answers and Get Support › Forums › Cera – Intranet & Community Theme › Installation & Updates › Required Plugins Installation and Updates › Fatal Error after Grimlock for BuddyPress
- This topic has 2 replies, 3 voices, and was last updated 3 years, 2 months ago by
Jason.
-
AuthorPosts
-
SurrealerParticipant@surrealer
- 16 Topics
- 47 Posts
After the Update of Grimlock for BuddyPress version 1.3.4 to 1.3.5, the logged out members get a fatal error message – this only comes up if you are logged out, if you are logged in already it works fine:
[06-Jul-2020 13:38:37 UTC] PHP Fatal error: Uncaught Error: Call to undefined function bp_setup_xprofile() in /var/www/vhosts/demo/httpdocs/wp-content/plugins/grimlock-buddypress/inc/customizer/class-grimlock-buddypress-customizer.php:92
Stack trace:
#0 /var/www/vhosts/vibemytoy.com/httpdocs/wp-includes/class-wp-hook.php(287): Grimlock_BuddyPress_Customizer->add_customizer_fields()
#1 /var/www/vhosts/demo/httpdocs/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
#2 /var/www/vhosts/demo/httpdocs/wp-includes/plugin.php(478): WP_Hook->do_action()
#3 /var/www/vhosts/demo/httpdocs/wp-settings.php(518): do_action()
#4 /var/www/vhosts/demo/httpdocs/wp-config.php(112): require_once(‘/var/www/vhosts…’)
#5 /var/www/vhosts/demo/httpdocs/wp-load.php(37): require_once(‘/var/www/vhosts…’)
#6 /var/www/vhosts/demo/httpdocs/wp-admin/admin.php(34): require_once(‘/var/www/vhosts…’)
#7 /var/www/vhosts/demo/httpdocs/wp-admin/plugins.php(10): require_once(‘/var/www/vhosts…’)
#8 {main in /var/www/vhosts/demo/httpdocs/wp-content/plugins/grimlock-buddypress/inc/customizer/class-grimlock-buddypress-customizer.php on line 92So the bug is in the newly added lines at:
class-grimlock-buddypress-customizer.php:92so the bug is in the first line here:
// Initialize necessary BP components to set up certain customizer fields (“members_displayed_profile_fields”)
bp_setup_xprofile();
$bp = buddypress();
$bp->core->setup_globals();
$bp->profile->setup_globals();I read somewhere that this happens if the plugin is called before it’s loaded.
July 6, 2020 at 16:28 #14745@themopteryx- 0 Topics
- 629 Posts
Hi @surrealer,
Thanks for getting in touch! We’ve received this request and we’ll get you an answer shortly. 🙂
We really thank you for your precise feedback.
Kind regards,
July 6, 2020 at 16:44 #14752@themoceratops- 1 Topics
- 423 Posts
Hi @surrealer,
There was indeed an issue with Grimlock BuddyPress, thank you for your feedback.
We have just released a new update of Grimlock BuddyPress. Updating the plugin to the latest version (1.3.6) should fix this issue.
Kindest regards,
July 6, 2020 at 17:18 #14755 -
AuthorPosts
Hi there,
This topic has been inactive for a while now so we will be closing it to keep the forum tidy. Don't hesitate to create a new topic if you still need help and we'll be glad to help you!
Best regards,
The Themosaurus team.
The topic ‘Fatal Error after Grimlock for BuddyPress’ is closed to new replies.