Comments shadowmaster2 started the conversationNovember 17, 2017 at 9:48amHi, When I put the MightyMag - Login With Ajax widget in the Login Bar, I get this error: PHP Fatal error: Uncaught Error: Call to undefined function bp_core_get_notifications_for_user() in /var/www/html/casinowired.com/web/app/themes/mightymag/admin/functions-extended/fn-buddypress.php:278\nStack trace:\n#0 /var/www/html/casinowired.com/web/app/themes/mightymag/inc/login-with-ajax/widget/default/widget_in.php(75): mgm_bp_notification_badge()\n#1 /var/www/html/casinowired.com/web/app/themes/mightymag/inc/login-with-ajax/login-with-ajax.php(384): include('/var/www/html/c...')\n#2 /var/www/html/casinowired.com/web/app/themes/mightymag/inc/login-with-ajax/login-with-ajax-widget.php(36): LoginWithAjax::widget(Array)\n#3 /var/www/html/casinowired.com/web/wp/wp-includes/class-wp-widget.php(372): LoginWithAjaxWidget->widget(Array, Array)\n#4 /var/www/html/casinowired.com/web/wp/wp-includes/widgets.php(742): WP_Widget->display_callback(Array, Array)\n#5 /var/www/html/casinowired.com/web/app/themes/mightymag/partials/part-collapsible.php(55): dynamic_sidebar('login-sidebar')\n#6 /var/www/html/casinowired.com/web/wp/wp-includes/tem in /var/www/html/casinowired.com/web/app/themes/mightymag/admin/functions-extended/fn-buddypress.php on line 278 I'm using WordPress 4.9 and BuddyPress 2.9.2. Regards, Marc 93 djwd repliedNovember 17, 2017 at 10:51amHi there,Can you please try replacing these 2 files I'm attaching? functions.php inc/login-with-ajax.php/widget/default/widget_in.php Hope it helpsRegardsdjwdshadowmaster2 repliedNovember 19, 2017 at 1:09pmHi,I replaced the files but I still get an error. This is now the new error: PHP Fatal error: Uncaught Error: Call to undefined function mgm_is_really_woocommerce() in /var/www/html/casinowired.com/web/app/themes/mightymag/header.php:175\nStack trace:\n#0 /var/www/html/casinowired.com/web/wp/wp-includes/template.php(688): require_once()\n#1 /var/www/html/casinowired.com/web/wp/wp-includes/template.php(647): load_template('/var/www/html/c...', true)\n#2 /var/www/html/casinowired.com/web/wp/wp-includes/general-template.php(41): locate_template(Array, true)\n#3 /var/www/html/casinowired.com/web/app/themes/mightymag/404.php(9): get_header()\n#4 /var/www/html/casinowired.com/web/wp/wp-includes/template-loader.php(74): include('/var/www/html/c...')\n#5 /var/www/html/casinowired.com/web/wp/wp-blog-header.php(19): require_once('/var/www/html/c...')\n#6 /var/www/html/casinowired.com/web/index.php(5): require('/var/www/html/c...')\n#7 {main}\n thrown in /var/www/html/casinowired.com/web/app/themes/mightymag/header.php on line 175, referer: http://www.casinowired.local/Regards,Marc 93 djwd repliedNovember 20, 2017 at 2:11pmHi there,sorry about that, I made a mistake. Please revert back and replace these two files instead: admin/functions-extended/fn-buddypress.phpinc/login-with-ajax.php/widget/default/widget_in.phpI also attach functions.php in case you didn't back it up.Hope it helpsRegardsdjwd1 Likeshadowmaster2 repliedNovember 20, 2017 at 11:13pmHi,It's working now. Thanks!Is there a way to add fields to the registration tab based on buddypress fields?Regards,Marc 93 djwd repliedNovember 21, 2017 at 10:24amHi there, glad it worked! Will be bundled in next update.Regarding your question, not sure about that although if it is, I believe that would definitely need some custom coding unfortunately. Regardsdjwdshadowmaster2 repliedNovember 23, 2017 at 12:16amGot it. Thanks! Sign in to reply ...
Hi,
When I put the MightyMag - Login With Ajax widget in the Login Bar, I get this error:
I'm using WordPress 4.9 and BuddyPress 2.9.2.
Regards,
Marc
Hi there,
Can you please try replacing these 2 files I'm attaching?
Hope it helps
Regards
djwd
Hi,
I replaced the files but I still get an error. This is now the new error:
Regards,
Marc
Hi there,
sorry about that, I made a mistake. Please revert back and replace these two files instead:
I also attach functions.php in case you didn't back it up.
Hope it helps
Regards
djwd
Hi,
It's working now. Thanks!
Is there a way to add fields to the registration tab based on buddypress fields?
Regards,
Marc
Hi there, glad it worked! Will be bundled in next update.
Regarding your question, not sure about that although if it is, I believe that would definitely need some custom coding unfortunately.
Regards
djwd
Got it. Thanks!