• Hi I keep getting this error:

    PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, function 'my_prefix_cartpops_empty_cart_url' not found or invalid function name in /home2/danteste/domains/books.websitescreated.com.au/public_html/wp-includes/class-wp-hook.php on line 310
    

    How to fix please.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey Nanny7,

    I’m sorry to hear that you’re encountering this error. To help you resolve this issue, could you please provide more context? Specifically, where are you seeing this error message? Did you recently add a custom script or make any changes to your website?

    In the meantime, here are a couple of steps you can try to resolve the issue:

    1. Reinstall the Plugin: If this error is related to a specific plugin, consider reinstalling it. Sometimes, plugin files can get corrupted during updates or installations.
    2. Check PHP Version: Make sure you are using PHP version 7.4 or higher. Older PHP versions may not be compatible with some plugins or scripts. You can usually change the PHP version in your hosting control panel.

    Feel free to share more details about the error or your website setup, and I’ll do my best to assist you further.

    Best,

    Niel, Cartpops

    Thread Starter nanny7

    (@nanny7)

    Hi I was using php 8.1 and it was giving errors.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘php errors’ is closed to new replies.