• Resolved jaythedesignhive

    (@jaythedesignhive)


    Hi,

    I’ve just updated to v1.2.8 and it’s triggered a fatal error on our customer’s site.
    The error log shows the following;

    [25-May-2021 08:21:02 UTC] PHP Fatal error: Uncaught Error: Class ‘ThanksToIT\PNWC\Core’ not found in /home/[redacted]/public_html/wp-content/plugins/popup-notices-for-woocommerce/popup-notices-for-woocommerce.php:32.

    I’ve manually disabled the plugin and the site is working fine again. If I try to re-enable the plugin I get a new error;

    Warning: include(/home/[redacted]/public_html/wp-content/plugins/popup-notices-for-woocommerce/vendor/composer/../../src/classes/class-core.php): failed to open stream: No such file or directory in /home/[redacted]/public_html/wp-content/plugins/dynamicconditions/vendor/composer/ClassLoader.php on line 444
    
    Warning: include(): Failed opening '/home/[redacted]/public_html/wp-content/plugins/popup-notices-for-woocommerce/vendor/composer/../../src/classes/class-core.php' for inclusion (include_path='.:/opt/alt/php74/usr/share/pear') in /home/[redacted]/public_html/wp-content/plugins/dynamicconditions/vendor/composer/ClassLoader.php on line 444
    
    Fatal error: Uncaught Error: Class 'ThanksToIT\PNWC\Core' not found in /home/[redacted]/public_html/wp-content/plugins/popup-notices-for-woocommerce/popup-notices-for-woocommerce.php:32 Stack trace: #0 /home/[redacted]/public_html/wp-admin/includes/plugin.php(2300): include() #1 /home/[redacted]/public_html/wp-admin/plugins.php(191): plugin_sandbox_scrape('woocommerce/woo...') #2 {main} thrown in /home/[redacted]/public_html/wp-content/plugins/popup-notices-for-woocommerce/popup-notices-for-woocommerce.php on line 32

    I’m struggling to work out what’s causing the error, the popup-notices or dynamicconditions? Any ideas?

    Many thanks for any help

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hi, i have the same error! Help please

    Plugin Author Pablo Pacheco

    (@karzin)

    Hello,

    I couldn’t reproduce the issue.
    Anyway, I’ve simplified the composer setup and I just released a new version (1.2.9).

    Let me know if it helps ??

    Plugin Author Pablo Pacheco

    (@karzin)

    Hi @giuliano61 and @jaythedesignhive ,
    Did the update help?

    Thank you very much Pablo, but it still doesn’t work for me, I attach the error, for now I reinstall version 1.2.7. Thanks again

    
    The plugin cannot be activated because it generates a fatal error.
    
    Warning: include(/home/customer/www/ilmiogirasole.it/public_html/wp-content/plugins/popup-notices-for-woocommerce/vendor/composer/../../src/classes/class-core.php): failed to open stream: No such file or directory in /home/customer/www/ilmiogirasole.it/public_html/wp-content/plugins/wordpress-seo/vendor/composer/ClassLoader.php on line 444
    
    Warning: include(): Failed opening '/home/customer/www/ilmiogirasole.it/public_html/wp-content/plugins/popup-notices-for-woocommerce/vendor/composer/../../src/classes/class-core.php' for inclusion (include_path='.:/usr/local/php73/pear') in /home/customer/www/ilmiogirasole.it/public_html/wp-content/plugins/wordpress-seo/vendor/composer/ClassLoader.php on line 444
    
    Fatal error: Uncaught Error: Class 'ThanksToIT\PNWC\Core' not found in /home/customer/www/ilmiogirasole.it/public_html/wp-content/plugins/popup-notices-for-woocommerce/popup-notices-for-woocommerce.php:32 Stack trace: #0 /home/customer/www/ilmiogirasole.it/public_html/wp-admin/includes/plugin.php(2300): include() #1 /home/customer/www/ilmiogirasole.it/public_html/wp-admin/plugins.php(191): plugin_sandbox_scrape('woocommerce/woo...') #2 {main} thrown in /home/customer/www/ilmiogirasole.it/public_html/wp-content/plugins/popup-notices-for-woocommerce/popup-notices-for-woocommerce.php on line 32
    Plugin Author Pablo Pacheco

    (@karzin)

    @giuliano61 ,

    Hum, ok. That’s odd.
    Can you please contact us on our support page?
    https://wpfactory.com/item/popup-notices-for-woocommerce/#tab-discussions

    If it’s possible I’d like to login in your site to take a look

    Thread Starter jaythedesignhive

    (@jaythedesignhive)

    @karzin Thanks for the super quick update! Sadly I’m still getting some errors too;

    Fatal error: Uncaught Error: Class 'ThanksToIT\PNWC\Core' not found in /home/[redacted]/public_html/wp-content/plugins/popup-notices-for-woocommerce/popup-notices-for-woocommerce.php:32 Stack trace: #0 /home/[redacted]/public_html/wp-admin/includes/plugin.php(2300): include() #1 /home/[redacted]/public_html/wp-admin/plugins.php(191): plugin_sandbox_scrape('woocommerce/woo...') #2 {main} thrown in /home/[redacted]/public_html/wp-content/plugins/popup-notices-for-woocommerce/popup-notices-for-woocommerce.php on line 32

    I also received a critical error (white screen with no dashboard or front) after trying to update plugin this morning (May 25 @ 7:40am CST). I disabled plugin from hosting for now so my site is backup. I’m hoping there is a cure for this soon. Thank you.

    Plugin Author Pablo Pacheco

    (@karzin)

    Hi @yoke605 , @jaythedesignhive , @giuliano61

    I just released a new version (1.3.0) and I think it will be ok this time.
    Recently I’ve changed my deploy script which releases a new version on wp.org.

    I had a file called .distignore which purpose is to ignore specific files and folders for the deploy. I realized it was removing a necessary folder on plugin releases.

    Let me know if version 1.3.0 fixes the issue for you guys ??

    It works perfectly, you are super, never seen assistance like this, thanks so much

    Plugin Author Pablo Pacheco

    (@karzin)

    Great!

    Anytime, thank you for letting me know ??

    Yup worked for me too! Thank you for your speedy help.

    Thread Starter jaythedesignhive

    (@jaythedesignhive)

    @karzin Works perfectly. Thank you so much for that incredibly speedy response!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘1.2.8 causes fatal error’ is closed to new replies.