• Resolved deebuy

    (@derekebye)


    The WordPress version is 6.0.2 and WooCommerce is 6.8.2

    As of this morning our website crashes if MyRewards is activated, and the website works perfect if it’s deactivated.

    Can you please advise if WordPress or WooCommerce did an update to cause an incompatibility

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Long Watch Studio

    (@lwsdevelopers)

    Hello,

    We do have test websites that run the beta branch of WordPress and WooCommerce and we didn’t run into any errors.
    I ran a test with the versions you mentioned and I didn’t encounter any issue either.

    Are you able to get an error log describing the error in detail ?

    If you don’t have error logs enabled, you can follow this guide to enable them :
    https://www.wpbeginner.com/wp-tutorials/how-to-set-up-wordpress-error-logs-in-wp-config/

    If you manage to send us the error, it’ll help a lot to find where the error comes from.

    Thread Starter deebuy

    (@derekebye)

    Before I post the debug log, here is something that may help. I deactivated the plugin by renaming the plugin folder, and everything works. I cleared the debug log. I went into WordPress admin and activated the plugin, and this error appeared on the screen.

    Fatal error: Uncaught Error: Class 'LWS\WOOREWARDS\PRO\Migration\ImportExport' not found in /var/www/wp-content/plugins/woorewards/modules/woorewards-pro/woorewards-pro.php:395 Stack trace: #0 /var/www/wp-content/plugins/woorewards/modules/woorewards-pro/woorewards-pro.php(128): LWS_WooRewards_Pro->install() #1 /var/www/wp-includes/class-wp-hook.php(307): LWS_WooRewards_Pro->plugin('') #2 /var/www/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #3 /var/www/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #4 /var/www/wp-content/plugins/woorewards/assets/lws-adminpanel/include/admin.php(301): do_action('lws_adminpanel_...') #5 /var/www/wp-content/plugins/woorewards/assets/lws-adminpanel/include/admin.php(39): LWS\Adminpanel\Admin->registerPlugins() #6 /var/www/wp-content/plugins/woorewards/assets/lws-adminpanel/include/admin.php(12): LWS\Adminpanel\Admin->__construct('4.6.9', '/var/www/wp-con...') #7 /var/www/wp-content/plugins/woorewards/assets/lws-adminpanel/lws-adminpanel.php(49): LWS\Adminpan in /var/www/wp-content/plugins/woorewards/modules/woorewards-pro/woorewards-pro.php on line 395
    
    Notice: Function is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/wp-includes/functions.php on line 5831
    
    Notice: Function is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/wp-includes/functions.php on line 5831
    
    There has been a critical error on this website. Please check your site admin email inbox for instructions.
    Learn more about troubleshooting WordPress.
    Plugin Author Long Watch Studio

    (@lwsdevelopers)

    Hum, we didn’t make any change in that part of the plugin recently. What’s odd is that the file containing the class is included right before we call it, so it shouldn’t be possible to have this error.

    Unless there’s a conflict with the class name from another plugin. The dev team is on weekend now but I’ll ask them to look into it monday morning and try to rename the class first to see if that solves your issue.

    Can you send us an email at [email protected] mentioning this exchange ?
    We’ll send you a link for a test version as soon as it’s ready so that you can see if it works.
    If it does, we’ll publish a fix for everyone next week.

    Plugin Author Long Watch Studio

    (@lwsdevelopers)

    This issue has been solved. The “Migration” name is now a reserved name that can’t be used inside classes names

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WordPress Crashes With This Plugin (Possible WordPress Update Happened)’ is closed to new replies.