• Resolved rafandrade

    (@rafandrade)


    Hi, I’m trying to host a site on 000webhost. The home of the site is working fine but the rest not.
    I have check the log and there this message “Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘olinda-footer_setup’ not found or invalid function name in /storage/ssd3/105/3420105/public_html/wp-includes/class-wp-hook.php on line 298”

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator James Huff

    (@macmanx)

    Try deactivating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the Twenty Seventeen theme to rule-out a theme-specific issue (theme functions can interfere like plugins).

    Additionally, we typically don’t recommend free hosting providers around here, as they often offer crippled servers that prevent WordPress from functioning properly.

    There are a few recommended hosting providers, and if you really want a free blog, try WordPress.com instead.

    Thread Starter rafandrade

    (@rafandrade)

    I already turn off all plugins and switched the theme. But the problem is still persisting. I know this free hosting isn’t the better option but for while I need it temporally. ??

    olinda-footer_setup Is not a Core WordPress function, so there’s no way the issue would occur if you had actually turned off all plugins and themes. Based on the name it’s probably your theme. It has a function named olinda-footer_setup, but you can’t have a - in function names.

    I found a child theme named “Olinda”. Is this your theme?https://marketplace.appthemes.com/child-themes/olinda/

    Thread Starter rafandrade

    (@rafandrade)

    Hey guys, I solve the problem! I removed from my functions.php the “add_action(‘after_setup_theme’, ‘olinda-footer_setup’);”.

    Anyway, this child theme it’s not mine
    Thanks ??

    • This reply was modified 7 years, 4 months ago by rafandrade.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error “invalid function name in…”’ is closed to new replies.