In last (2013) i bought the recent visitor plugin / version 1.1.3 .
This plugin was very small and enough for me, but in new theme installation WP notice a error – rather breaks the website. I try to fix that, but i did not make quite.
Fatal error: Call to undefined function bp_get_settings_slug() in … / recent-visitors.php on line 53
I change this line, that the plugin and the website can run:
—————– LINE 76 ————————-
### I change the line:
$settings_link = trailingslashit( $user_domain . bp_get_settings_slug() );
$settings_link = trailingslashit( $user_domain . $this->slug );
Now the old plugin run, but i have other mini-error and mini-problems.
————– New Error —————————————
Warning: call_user_func_array(): First argument is expected to be a valid callback, ‘BP_Visitor_Helper::setup_nav’ was given in …. wp-includes/plugin.php on line 503
Before i lost time, i thought to myself i buy the last version of the recent visitor plugin / version 1.2.8
But the plugin completely brakes the site, i can not activate the plugin 🙁
—————- The Error in New Plugin ——————
Fatal error: Call to undefined function bp_get_settings_slug() in … /recent-visitors-for-buddypress-profile/visitors-component.php on line 163
Can you fix that, please.
The old version or the new plugin.
You know i have other problems, too. Perhaps the database or my installation is wrong? I don´t know.
- Brajesh Singh on September 10, 2015 at 11:05 am #438
It seems you have settings component disabled for BuddyPress.
I am sorry for the fatal error tough, we should have checked for the state of settings component. I will put an update in 30 -45 minutes to do that.
Please do note that the recent Visitors plugin needs Settings component to be active otherwise a User won’t be able to update his/her preference.
PS: It is originating from your other problem where you are not able to update the settings. The Settings component can be enabled from that page.
- Brajesh Singh on September 10, 2015 at 11:26 am #440
I have updated the plugin. Version 1.2.6 will not throw any fatal error.
Please do note that I have changed the directory name of the plugin from bp-profile-visibility to bp-profile-visibility-manager
That name change was required to allow us provide you automatic upgrades in future via BuddyDev dashboard plugin.
Please upgrade and do let me know how it went.
- Brajesh Singh on September 10, 2015 at 11:35 am #442
Here is the link to plugin for your convenience.
- Brajesh Singh on September 12, 2015 at 8:30 am #458
I am Sorry, I updated the wrong plugin.
here is the update to recent visitor plugin
- Brajesh Singh on September 12, 2015 at 12:39 pm #474
No problem. It happens with all of us. That’s why it is called learning 🙂
All the best with your site. Closing this topic as resolved.
You must be logged in to reply to this topic.