-
Author
-
February 1, 2016 at 13:24 #101522
tubbytat
ParticipantHi there, i am getting the following errors in my error log. can you assist. attached is the plugin.php
[01-Feb-2016 10:57:40 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘kleo_social_share’ not found or invalid function name in /home/topofthe/public_html/wp-includes/plugin.php on line 525
Also i have come across a strange issue on my site that only occurs in firefox browser
when you try to go to a page from FireFox, it shows you the page then redirects you back to the previous one… this only happens with FireFox. I tried to disable all plugins I have installed, didn’t work. Checked htaccess, seems fine… Checkev for malware – none. Don’t know what else to do… any help is highly appreciated…
you can view the problem in firefox, if you go to tvmum.co.uk then select from the top menu tab and choose a bbc channel to view, you will see the redirection
thanks in advance
Attachments:
You must be logged in to view attached files.February 1, 2016 at 20:04 #101617Radu
ModeratorHi,
Do you have made some changes to the theme files ? parent/child ?
The kleo_social_share function works only in post pages.
I’ve accessed your website in chrome and firefox and i don’t was redirected anywhere it opens pages normally.
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 1, 2016 at 20:40 #101629tubbytat
ParticipantOK the firefox redirect has been fixed, it was a cloudflare issue.
Still no solution to the PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘kleo_social_share’ not found or invalid function name in /home/topofthe/public_html/wp-includes/plugin.php on line 52February 1, 2016 at 20:41 #101630tubbytat
Participanthere is the php file as a text file
Attachments:
You must be logged in to view attached files.February 2, 2016 at 15:07 #101709Radu
ModeratorHi,
The problem is not caused by plugin.php, this file is part of wordpress core.
Do you have something in your child theme functions.php ?
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 2, 2016 at 15:14 #101711tubbytat
Participantthis is my functions file:
<?php
/**
* @package WordPress
* @subpackage Kleo
* @author SeventhQueen <themesupport@seventhqueen.com>
* @since Kleo 1.0
*//**
* Kleo Child Theme Functions
* Add custom code below
*/
add_action( ‘bbp_theme_after_reply_content’, ‘kleo_social_share’ );February 2, 2016 at 15:21 #101716Radu
ModeratorHi,
If you remove this line
COPY CODEadd_action( ‘bbp_theme_after_reply_content’, ‘kleo_social_share’ );
The error shouldn’t appear again in error.log
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 2, 2016 at 15:23 #101717tubbytat
Participantseems to have sorted the issue out, many thanks Radu
February 2, 2016 at 16:53 #101750Radu
ModeratorYou’re welcome
Have a nice day
Cheer
RAdu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.