• Resolved catwingz

    (@catwingz)


    Hi, I have used your theme a number of times both with and without the need for a child theme. This site is using a child theme and had php 5.4. There are performance issues so Bluehost suggested I upgrade to php 7.0. I was then greeted by:

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘quark-child_enqueue_styles’ not found or invalid function name in /home3/kimbetg0/public_html/wp-includes/class-wp-hook.php on line 298

    stretching across the top of the home page. This is out of my league. The website is now back to 5.4 and I’m not sure if upgrading is an option and, if so, what do I need to change?

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter catwingz

    (@catwingz)

    As an update to this, I have now discovered that, even with the php back to the original, if the child theme is reactivated the error message comes back. The child theme had been active for several months without this issue. Are you able to tell me what might have changed or, better still, how to modify the child theme so I can reactivate it?

    Thank you

    Theme Author Anthony Hortin

    (@ahortin)

    Hi,

    In your child theme you’re trying to call a function called quark-child_enqueue_styles() but that function doesn’t exist. It’s possible you’ve just made a spelling mistake or something.

    Have you added a hook or action in the child theme functions.php file that calls this function?

    Looking at your site, the error message you mentioned isn’t displaying so I’m wondering if you’ve sorted this out.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Switch to php 7.0 yields error message’ is closed to new replies.