• Resolved xdekhckr

    (@xdekhckr)


    after plugin automatically updated I got this error, I was unable to login to wordpress:

    2023-11-14T13:17:54+00:00 CRITICAL Uncaught Error: Class "LicenseManagerForWooCommerce\Abstracts\Singleton" not found in /home/xdekhckr/public_html/shop/wp-content/plugins/license-manager-for-woocommerce/includes/Main.php:37
    Stack trace:
    #0 /home/xdekhckr/public_html/shop/wp-content/plugins/all-in-one-seo-pack-pro/vendor/composer/ClassLoader.php(571): include()
    #1 /home/xdekhckr/public_html/shop/wp-content/plugins/all-in-one-seo-pack-pro/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile()
    #2 /home/xdekhckr/public_html/shop/wp-content/plugins/license-manager-for-woocommerce/license-manager-for-woocommerce.php(56): Composer\Autoload\ClassLoader->loadClass()
    #3 /home/xdekhckr/public_html/shop/wp-content/plugins/license-manager-for-woocommerce/license-manager-for-woocommerce.php(60): LicenseManagerForWooCommerce\lmfwc()
    #4 /home/xdekhckr/public_html/shop/wp-admin/includes/plugin.php(2318): include_once('/home/xdekhckr/...')
    #5 /home/xdekhckr/public_html/shop/wp-admin/includes/plugin.php(2462): plugin_sandbox_scrape()
    #6 /home/xdekhckr/public_html/shop/wp-admin/plugins.php(453): resume_plugin()
    #7 {main}
      thrown in /home/xdekhckr/public_html/shop/wp-content/plugins/license-manager-for-woocommerce/includes/Main.php on line 37
    
    2023-11-14T13:21:44+00:00 CRITICAL Uncaught Error: Class "LicenseManagerForWooCommerce\Abstracts\Singleton" not found in /home/xdekhckr/public_html/shop/wp-content/plugins/license-manager-for-woocommerce/includes/Main.php:37
    Stack trace:
    #0 /home/xdekhckr/public_html/shop/wp-content/plugins/all-in-one-seo-pack-pro/vendor/composer/ClassLoader.php(571): include()
    #1 /home/xdekhckr/public_html/shop/wp-content/plugins/all-in-one-seo-pack-pro/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile()
    #2 /home/xdekhckr/public_html/shop/wp-content/plugins/license-manager-for-woocommerce/license-manager-for-woocommerce.php(56): Composer\Autoload\ClassLoader->loadClass()
    #3 /home/xdekhckr/public_html/shop/wp-content/plugins/license-manager-for-woocommerce/license-manager-for-woocommerce.php(60): LicenseManagerForWooCommerce\lmfwc()
    #4 /home/xdekhckr/public_html/shop/wp-admin/includes/plugin.php(2318): include_once('/home/xdekhckr/...')
    #5 /home/xdekhckr/public_html/shop/wp-admin/includes/plugin.php(663): plugin_sandbox_scrape()
    #6 /home/xdekhckr/public_html/shop/wp-admin/plugins.php(58): activate_plugin()
    #7 {main}
      thrown in /home/xdekhckr/public_html/shop/wp-content/plugins/license-manager-for-woocommerce/includes/Main.php on line 37
    
    2023-11-14T13:26:39+00:00 CRITICAL Uncaught Error: Class "LicenseManagerForWooCommerce\Abstracts\Singleton" not found in /home/xdekhckr/public_html/shop/wp-content/plugins/license-manager-for-woocommerce/includes/Main.php:37
    Stack trace:
    #0 /home/xdekhckr/public_html/shop/wp-content/plugins/cryptomus/vendor/composer/ClassLoader.php(578): include()
    #1 /home/xdekhckr/public_html/shop/wp-content/plugins/cryptomus/vendor/composer/ClassLoader.php(432): Composer\Autoload\ClassLoader::Composer\Autoload\{closure}()
    #2 /home/xdekhckr/public_html/shop/wp-content/plugins/license-manager-for-woocommerce/license-manager-for-woocommerce.php(56): Composer\Autoload\ClassLoader->loadClass()
    #3 /home/xdekhckr/public_html/shop/wp-content/plugins/license-manager-for-woocommerce/license-manager-for-woocommerce.php(60): LicenseManagerForWooCommerce\lmfwc()
    #4 /home/xdekhckr/public_html/shop/wp-admin/includes/plugin.php(2318): include_once('/home/xdekhckr/...')
    #5 /home/xdekhckr/public_html/shop/wp-admin/includes/plugin.php(663): plugin_sandbox_scrape()
    #6 /home/xdekhckr/public_html/shop/wp-admin/plugins.php(58): activate_plugin()
    #7 {main}
      thrown in /home/xdekhckr/public_html/shop/wp-content/plugins/license-manager-for-woocommerce/includes/Main.php on line 37
    
    2023-11-14T13:32:05+00:00 CRITICAL Uncaught Error: Class "LicenseManagerForWooCommerce\Abstracts\Singleton" not found in /home/xdekhckr/public_html/shop/wp-content/plugins/license-manager-for-woocommerce/includes/Main.php:37
    Stack trace:
    #0 /home/xdekhckr/public_html/shop/wp-content/plugins/cryptomus/vendor/composer/ClassLoader.php(578): include()
    #1 /home/xdekhckr/public_html/shop/wp-content/plugins/cryptomus/vendor/composer/ClassLoader.php(432): Composer\Autoload\ClassLoader::Composer\Autoload\{closure}()
    #2 /home/xdekhckr/public_html/shop/wp-content/plugins/license-manager-for-woocommerce/license-manager-for-woocommerce.php(56): Composer\Autoload\ClassLoader->loadClass()
    #3 /home/xdekhckr/public_html/shop/wp-content/plugins/license-manager-for-woocommerce/license-manager-for-woocommerce.php(60): LicenseManagerForWooCommerce\lmfwc()
    #4 /home/xdekhckr/public_html/shop/wp-admin/includes/plugin.php(2318): include_once('/home/xdekhckr/...')
    #5 /home/xdekhckr/public_html/shop/wp-admin/includes/plugin.php(663): plugin_sandbox_scrape()
    #6 /home/xdekhckr/public_html/shop/wp-admin/plugins.php(58): activate_plugin()
    #7 {main}
      thrown in /home/xdekhckr/public_html/shop/wp-content/plugins/license-manager-for-woocommerce/includes/Main.php on line 37
    

    Any ideas what is happening? I tried installing older version but still can’t activate plugin back…

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter xdekhckr

    (@xdekhckr)

    I tested it on new installation of wordpress version 6.4.1 and woocommerce version 8.2.2 and it still gives error:

    2023-11-14T13:51:08+00:00 CRITICAL Uncaught Error: Class "LicenseManagerForWooCommerce\Abstracts\Singleton" not found in /home/xdekhckr/public_html/licmantest/wp-content/plugins/license-manager-for-woocommerce/includes/Main.php:37
    Stack trace:
    #0 /home/xdekhckr/public_html/licmantest/wp-content/plugins/license-manager-for-woocommerce/vendor/composer/ClassLoader.php(576): include()
    #1 /home/xdekhckr/public_html/licmantest/wp-content/plugins/license-manager-for-woocommerce/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}()
    #2 /home/xdekhckr/public_html/licmantest/wp-content/plugins/license-manager-for-woocommerce/license-manager-for-woocommerce.php(56): Composer\Autoload\ClassLoader->loadClass()
    #3 /home/xdekhckr/public_html/licmantest/wp-content/plugins/license-manager-for-woocommerce/license-manager-for-woocommerce.php(60): LicenseManagerForWooCommerce\lmfwc()
    #4 /home/xdekhckr/public_html/licmantest/wp-admin/includes/plugin.php(2318): include_once('/home/xdekhckr/...')
    #5 /home/xdekhckr/public_html/licmantest/wp-admin/includes/plugin.php(663): plugin_sandbox_scrape()
    #6 /home/xdekhckr/public_html/licmantest/wp-admin/plugins.php(58): activate_plugin()
    #7 {main}
      thrown in /home/xdekhckr/public_html/licmantest/wp-content/plugins/license-manager-for-woocommerce/includes/Main.php on line 37
    

    I don’t understand who and why released this version of plugin, big L

    sanji17

    (@sanji17)

    1. Access your file manager and rename the name of the plugin to a different name.
    2. The website should be working now.
    3. Download the old version of the plugin (click advanced view).
    4. Open wp admin and go to add new plugin.
    5. Install and activate it.
    • This reply was modified 1 year ago by sanji17.

    My workaround (not involving a downgrade) was to make soft links for all concerned folders (to avoid creating new bugs if both uppercase and lowercase names are used in the code)

    But of course it won’t survive the next update if the issue is not fixed then.

    cd wp-content/plugins/license-manager-for-woocommerce/
    ln -s abstracts Abstracts
    ln -s api Api
    ln -s controllers Controllers
    ln -s integrations Integrations
    ln -s interfaces Interfaces
    ln -s repositories Repositories
    ln -s settings Settings
    
    cd api
    ln -s v2 V2
    cd ../integrations
    ln -s woocommerce WooCommerce
    cd woocommerce
    ln -s emails Emails
    Thread Starter xdekhckr

    (@xdekhckr)

    my bro is using console ??

    Plugin Support Mirza Hamza

    (@hamza1010)

    Hello,

    Thanks for contacting us,

    We hope this message finds you well. We are excited to inform you that we have recently released a new update for the License Manager plugin.

    It is requested you to update the License Manager plugin on your site to the latest version 3.0.1. This update includes the fixes of the reported issues and ensures a smoother experience for you.

    If you encounter any challenges during the update process or face any issues post-update, please don’t hesitate to reach out to us. Your feedback is invaluable, and we are here to assist you promptly.

    Thanks & Regards
    WP Experts Support Team

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Plugin broke my whole website after update’ is closed to new replies.