• This plugin looks very promising. Thanks for all the work you’ve put into it.

    I installed it today, but it’s not working on my site.
    On a Post, if I click “Like”, then reload the page, the like resets.

    When I load my BuddyPress Activity stream, the following php errors are output on the page:

    Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method VoterPosts::aheadzen_post_content_voting_links() should not be called statically in /var/www/html/wp-includes/plugin.php on line 235

    Strict Standards: Non-static method VoterPosts::aheadzen_content_voting_links() should not be called statically in /var/www/html/wp-content/plugins/voter-plugin/voter_functions.php on line 1138

    Profile picture of Mike Bolton
    Mike Bolton (@mikeb)

    active 4 seconds ago
    Communication Division
    Richmond

    Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method VoterBpMembers::aheadzen_bp_member_voting_links() should not be called statically in /var/www/html/wp-includes/plugin.php on line 524

    Strict Standards: Non-static method VoterPluginClass::aheadzen_get_voting_link() should not be called statically in /var/www/html/wp-content/plugins/voter-plugin/voter_functions.php on line 1285

    Strict Standards: Non-static method VoterPluginClass::aheadzen_check_voter_page_disabled() should not be called statically in /var/www/html/wp-content/plugins/voter-plugin/voter_functions.php on line 169

    Notice: Undefined index: result in /var/www/html/wp-content/plugins/voter-plugin/voter_functions.php on line 175

    Strict Standards: Non-static method VoterPluginClass::aheadzen_get_current_page_url() should not be called statically in /var/www/html/wp-content/plugins/voter-plugin/voter_functions.php on line 201

    Strict Standards: Non-static method VoterPluginClass::aheadzen_get_total_votes() should not be called statically in /var/www/html/wp-content/plugins/voter-plugin/voter_functions.php on line 202

    Strict Standards: Non-static method VoterPluginClass::aheadzen_is_voted() should not be called statically in /var/www/html/wp-content/plugins/voter-plugin/voter_functions.php on line 204

    Notice: Undefined index: user_id in /var/www/html/wp-content/plugins/voter-plugin/voter_functions.php on line 90

    Notice: Undefined index: user_id in /var/www/html/wp-content/plugins/voter-plugin/voter_functions.php on line 210

    Notice: Undefined variable: votetype in /var/www/html/wp-content/plugins/voter-plugin/voter_functions.php on line 224

    Notice: Undefined variable: votetype in /var/www/html/wp-content/plugins/voter-plugin/voter_functions.php on line 225

    Notice: Undefined index: rtype in /var/www/html/wp-content/plugins/voter-plugin/voter_functions.php on line 366

    Let me know if you have any insight!

    All the best,

    Mike Bolton

The topic ‘php errors, votes not persistent after reload’ is closed to new replies.