Plugin Author
Tosh
(@xberserker)
Very odd, haven’t seen that before. Add this to your wp-config file
define('WP_DEBUG', true);
Put that into pastebin.com and report back the results.
Thanks, I turned on WP_Debug and this is what it said:
Notice: Undefined property: stdClass::$id in /home2/myaccount/public_html/mydomain/wp-content/plugins/cubepoints-buddypress-integration/includes/bp-cubepoint-core.php on line 180
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 1966080 bytes) in /home2/myaccount/public_html/mydomain/wp-content/plugins/cubepoints-buddypress-integration/includes/bp-cubepoint-admin.php on line 1697
What should I do, please?
Plugin Author
Tosh
(@xberserker)
Please try adding this to your wp_config.php file or modifying it if it already exists.
define(‘WP_MEMORY_LIMIT’, ‘128M’);
I try this all but no luck. 🙁
I want to reward some points to the user when he/she shares some posts, comments etc on Facebook. As BuddyShare has an option to share with Twitter, Linked In, Facebook, Google plus and many more social webs.
Please could anyone do this for me, will be highly appreciated.
Moreover, i put this code in
‘/wp-content/plugins/buddypress-share-it/bp-share-it.php’
i.e.
function addpts()
{
if( function_exists('cp_alterPoints') && is_user_logged_in() )
{
cp_alterPoints(cp_currentUser(),get_option('bp_share_post_add_cp_bp'));
}
}
add_action('wp_head','addpts');
/* This 'wp_head' in add_action() is working when page is reloaded, now it has to be replaced by some other action which will be called on click of that Facebook Share icon.*/
[Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser.]
Thanks in advance!
I almost wanted to ask the question again, because from reading this thread it doesn’t seem resolved.
I tried what Tosh said in his last reply though, and it worked! 🙂
—————-
Please try adding this to your wp_config.php file or modifying it if it already exists.
define(‘WP_MEMORY_LIMIT’, ‘128M’);
—————-