Unexpected error below footer
-
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'graphene_scrollable' not found or invalid function name in /home/xxxxxxxx/public_html/wellstradingpost/wp-includes/plugin.php on line 525This is showing at the bottom of a website I started this afternoon. It appeared since I created a child theme using the instructions shown in the tutorial about keeping the slider in all pages.
2 files in my child theme
style.css
functions.php
I disabled all plugins and still get the same.
website in question is here
Kind regards
Matt
Admin
Do you get the warning if not using the child theme?
Admin
What is the content of the functions.php file in the child theme?
I just checked all of the widgets and all code within are correct.
Here is the functions.php
<?php
function graphene_display_slider(){
graphene_slider();
add_action('wp_footer', 'graphene_scrollable');
}
function custom_enqueue_scripts(){
if ( ! is_admin() ) { // Front-end only
wp_enqueue_script( 'graphene-jquery-tools' ); // jQuery Tools, required for slider
}
}
add_action( 'wp_enqueue_scripts', 'custom_enqueue_scripts' );
?>Matt
Viewing 9 posts - 1 through 9 (of 9 total)
- You must be logged in to reply to this topic.
