• Resolved kimberlyholmes

    (@kimberlyholmes)


    Hi,

    What’s going on with this error and how do I fix it?

    Thanks.

    `Fatal error: Uncaught Error: Call to undefined function is_order_received_page() in /home/customer/www/perlalopezbaray.com/public_html/wp-content/plugins/shareasale-wc-tracker/includes/class-shareasale-wc-tracker-mastertag.php:31 Stack trace: #0 /home/customer/www/perlalopezbaray.com/public_html/wp-includes/class-wp-hook.php(287): ShareASale_WC_Tracker_Mastertag->enqueue_scripts(”) #1 /home/customer/www/perlalopezbaray.com/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #2 /home/customer/www/perlalopezbaray.com/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #3 /home/customer/www/perlalopezbaray.com/public_html/wp-includes/script-loader.php(2004): do_action(‘wp_enqueue_scri…’) #4 /home/customer/www/perlalopezbaray.com/public_html/wp-includes/class-wp-hook.php(287): wp_enqueue_scripts(”) #5 /home/customer/www/perlalopezbaray.com/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array) #6 /home/customer/www/perlalopezbaray.com/public_html/wp in /home/customer/www/perlalopezbaray.com/public_html/wp-content/plugins/shareasale-wc-tracker/includes/class-shareasale-wc-tracker-mastertag.php on line 31

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Ryan Stark

    (@rfrey2009)

    Hi Kimberly,

    That error sounds like you are running an old version of WooCommerce. What version of it and WordPress do you have? The ShareASale plugin requires at least version 2.6 of WooCommerce and 4.4 of WordPress.

    Thread Starter kimberlyholmes

    (@kimberlyholmes)

    Hi, Ryan.

    Thanks for replying.

    For WooCommerce, I’m running Version 4.8.0 and for WordPress I’m running version 5.6.

    Thread Starter kimberlyholmes

    (@kimberlyholmes)

    Any update on this?

    Thanks.

    We’re getting the same error. It seems like the version of WooCommerce isn’t the issue, but the issue is that the plugin seems to work with PHP version 7.2, but if you’re using 7.4 or higher then it gives the error.

    Please update the plugin. It’s been 9 months since the plugin was updated and it seems like this is the official plugin for Sharasale and if this isn’t updated it kind of makes Sharasale obsolete for WordPress/WooCOmmerce

    Plugin Author Ryan Stark

    (@rfrey2009)

    @wodobo and @kimberlyholmes, apologies for the delay. Rest assured we are planning a feature and bug fix update to this official plugin soon and will resolve this issue at the same time. Thank you for your patience.

    Plugin Author Ryan Stark

    (@rfrey2009)

    @wodobo I wasn’t able to reproduce this error while testing with PHP 7.4.2, WordPress 5.7.1, and WooCommerce 5.3. What other plugins are you using and what is your currently active theme?

    We do have a small change coming that may remedy this by adding extra protection to ensure the tracker plugin can’t load prior to WooCommerce (which defines the is_order_received_page() function) in some environments.

    Hey Ryan,

    Thanks for taking time to look into this. We really want to find a way to make this plugin work so we can use Sharasale.

    In regards to the other plugins, I can try to get that list, but when I did the test switching between 7.2 and 7.3 nothing changed in regards to plugins. It was only the version of PHP that was changing.

    If you’re not able to duplicate the issue by switching PHP version, then it’s possible that our versions of PHP 7.3 and higher are missing some software that is installed into the php 7.2 on the server.

    For instance, I had an issue last night with another site where the favicon wouldn’t work because the PHP version did not have GD Draw (I think that’s what it was called) installed. But once it was installed in the PHP versions we were using above 7.2, then it functioned as needed.

    In regards to the theme, we’re using Salient Theme from ThemeNectar.

    Let me know if you need any other help or if you’d like to connect to do a screenshare/etc.

    Plugin Author Ryan Stark

    (@rfrey2009)

    Thanks for the info, @wodobo. If like you said, everything is constant besides PHP version when you experience this issue, it is indeed likely related to something besides other plugins and themes. This definitely makes it harder to debug though.

    I recommend waiting for the plugin update coming in the next week or so and giving it a try. If it doesn’t do the trick, then we can try taking a deeper dive afterward.

    Thanks Ryan, I’m looking forward to it! Hope your week is going well!

    Plugin Author Ryan Stark

    (@rfrey2009)

    Version 1.5.0 was just pushed. Let us know if this doesn’t fix the issue for you both!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Fatal Error’ is closed to new replies.