Unexpected error below footer

  • Skivey

    #10268

    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 525

    This 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

    Syahir Hakim

    #45754

    Do you get the warning if not using the child theme?

    Skivey

    #45755

    I just switched and nope…

    Ill leave it for you to look.

    Bizarre right?

    Admin

    Syahir Hakim

    #45756

    What is the content of the functions.php file in the child theme?

    Skivey

    #45757

    although I’ve lost the footer but thats probably cos I’ve lost the widgets

    Skivey

    #45758

    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

    Skivey

    #45759

    ok, looking at that myself, maybe i should just remove graphene_scrollable?

    Skivey

    #45760

    oh look, it worked.

    Thanks for allowing me to be pointed in the right direction Syahir! 🙂

    Matt

    Skivey

    #45761

    just to add, i had to move add_action('wp_footer', 'graphene_scrollable'); for it to work because I got thrown another error after removing just graphene_scrollable

    Matt

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.