• Resolved david.tan

    (@davidtan-1)


    Hi,

    David here, I recently found this cool theme and I’m just trying it out, but I’ve found that I’m unable to change the footer text.

    So I’ve tried changing it under the Appearance > Customize > Site Title and Tagline > Footer Copyright.

    Whenever I try to change anything, the preview on the right displays the following message.

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'coeur_sanitize_footer' not found or invalid function name in /home/admin/public_html/wp-includes/plugin.php on line 214

    Would anyone be able to know what is the main issue causing this error ?

    Thanks
    David

Viewing 3 replies - 1 through 3 (of 3 total)
  • Looks like a bug in the theme. You could temporarily fix this by editing framework/customizer.php. Line 686 should be changed from:

    function footer_sanitize_footer( $footer ) {

    to

    function coeur_sanitize_footer( $footer ) {

    If you edit the theme files directly, this change would be overwritten, but hopefully the next theme update would include this change anyway.

    Thread Starter david.tan

    (@davidtan-1)

    Awesome. It works!

    Thanks Stephen for the prompt reply 🙂

    Theme Author Frenchtastic

    (@titouanc)

    Hello,
    Don’t worry about overwriting the theme this bug will be fixed in the next theme update.
    Thank you for finding out what the issue was.

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error when changing footer text’ is closed to new replies.