• Hello,

    After updating myCred Toolkit Pro from version 1.0.4 to the latest version available in my myCred account, our WordPress site immediately crashed with a critical error.

    Error:

    Fatal error: Uncaught Error: Class “MWP_Module” not found

    File:

    wp-content/plugins/mycred-toolkit-pro/includes/addons/mycred-woocommerce-plus/mycred-woocommerce-plus-revamped/modules/class-mwp-module-coupons.php

    Line:

    7

    Backtrace includes:

    mycred-woocommerce-plus.php(167): include_once()
    wp-content/plugins/mycred/mycred.php(522): apply_filters(‘mycred_load_mod…’)
    myCRED_Core->after_theme()
    do_action(‘after_setup_theme’)

    Environment:

    WordPress: 7.0
    PHP: 8.3.6
    WooCommerce: 10.9.4
    myCred core: 3.2.0
    Previous working myCred Toolkit Pro version: 1.0.4
    Server: Ubuntu / MariaDB 10.11.14

    The issue appears to come from the WooCommerce Plus revamped addon.

    Rolling back to myCred Toolkit Pro 1.0.4 immediately resolved the issue and allowed us to reactivate the plugin.

    In the rolled-back working version, the MWP_Module base class exists here:

    wp-content/plugins/mycred-toolkit-pro/includes/addons/mycred-woocommerce-plus/mycred-woocommerce-plus-revamped/abstract/class-mwp-abstract-module.php

    Could you please confirm whether the latest Toolkit Pro package is missing this base class file, or whether the WooCommerce Plus revamped addon is loading class-mwp-module-coupons.php before loading the abstract/base module class?

    Please provide a patched version or let us know the correct fix, as we currently cannot safely update Toolkit Pro on production.

    Thank you.

You must be logged in to reply to this topic.