• Resolved flowdee

    (@flowdee)


    After updating to the latest version I get the following error which leads into a blank page:

    Fatal error: Uncaught Error: Class 'AEPC_Pixel_Scripts' not found in /srv/public/public/wp-content/plugins/pixel-caffeine/includes/supports/class-aepc-edd-addon-support.php:151 Stack trace: #0 /srv/public/public/wp-includes/class-wp-hook.php(298): AEPC_Edd_Addon_Support->save_to_fire_after_add_to_cart(33, Array, Array) #1 /srv/public/public/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array) #2 /srv/public/public/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /srv/public/public/wp-content/plugins/easy-digital-downloads/includes/cart/class-edd-cart.php(474): do_action('edd_post_add_to...', 33, Array, Array) #4 /srv/public/public/wp-content/plugins/easy-digital-downloads/includes/cart/functions.php(60): EDD_Cart->add(33, Array) #5 /srv/public/publi in /srv/public/public/wp-content/plugins/pixel-caffeine/includes/supports/class-aepc-edd-addon-support.php on line 151

    eCommerce integration with “Easy Digital Download” is used.

    The problem only occurs when using add to cart links:

    https://my-domain.com/?edd_action=add_to_cart&download_id=33&edd_options[price_id]=1

    Everything worked before updating to the newest version. I had to deactivate the plugin on my sites because it’s breaking the page.

    Feel free to contact me via Twitter if you want to need more infos.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Antonino Scarfì

    (@antoscarface)

    Hi,

    thanks for reporting this! 🙂 I found the issue and solved, please fix manually meanwhile I’ll release a new version of the plugin.

    You can fix by opening the file pixel-caffeine.php inside the Pixel Caffeine folder of your wordpress installation and find this row, around the line 119:

    add_action( 'wp', array( $this, 'frontend_includes' ) );

    Replace it with:

    add_action( 'init', array( $this, 'frontend_includes' ), 1 );

    You should solve the issue in this way, let me know 🙂 Thanks.

    Thread Starter flowdee

    (@flowdee)

    Fixed it, thanks @antoscarface !

    Plugin Author Antonino Scarfì

    (@antoscarface)

    Great, you’re welcome! Thanks to you to reporting that! Have a great day.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Fatal error: Uncaught Error: Class ‘AEPC_Pixel_Scripts’ not found’ is closed to new replies.