• Resolved embercide

    (@embercide)


    Plugin version 1.6.1

    2021-10-13T19:50:13+00:00 CRITICAL Uncaught Error: Class ‘WooCommerce\PayPalCommerce\Button\Assets\SmartButton’ not found in /home/mysite.com/nbatrjhcsr/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/services.php:72
    Stack trace:
    #0 /home/mysite.com/nbatrjhcsr/public_html/wp-content/plugins/woocommerce-paypal-payments/vendor/dhii/containers/src/DelegatingContainer.php(116): WooCommerce\PayPalCommerce\Button\ButtonModule::WooCommerce\PayPalCommerce\Button\{closure}()
    #1 /home/mysite.com/nbatrjhcsr/public_html/wp-content/plugins/woocommerce-paypal-payments/vendor/dhii/containers/src/DelegatingContainer.php(56): Dhii\Container\DelegatingContainer->_invokeFactory()
    #2 /home/mysite.com/nbatrjhcsr/public_html/wp-content/plugins/woocommerce-paypal-payments/vendor/dhii/containers/src/CompositeContainer.php(47): Dhii\Container\DelegatingContainer->get()
    #3 /home/mysite.com/nbatrjhcsr/public_html/wp-content/plugins/woocommerce-paypal-payments/vendor/dhii/containers/src/CachingContainer.php(49): Dhii\Container\CompositeContainer->get()
    #4 /home/mysite.com/nbatrjhcsr/public_html/wp-content/plugins/woocommerce-paypal-payments/vendor/dhii/containers/src/CachingContainer.php(147): Dhii\Container\CachingContainer->Dhii\Container\{closure}()
    #5 /home/mysite.com/nbatrjhcsr/public_html/wp-content/plugins/woocommerce-paypal-payments/vendor/dhii/containers/src/CachingContainer.php(115): Dhii\Container\CachingContainer->_invokeGenerator()
    #6 /home/mysite.com/nbatrjhcsr/public_html/wp-content/plugins/woocommerce-paypal-payments/vendor/dhii/containers/src/CachingContainer.php(50): Dhii\Container\CachingContainer->_getCached()
    #7 /home/mysite.com/nbatrjhcsr/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/class-buttonmodule.php(54): Dhii\Container\CachingContainer->get()
    #8 /home/mysite.com/nbatrjhcsr/public_html/wp-includes/class-wp-hook.php(303): WooCommerce\PayPalCommerce\Button\ButtonModule::WooCommerce\PayPalCommerce\Button\{closure}()
    #9 /home/mysite.com/nbatrjhcsr/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
    #10 /home/mysite.com/nbatrjhcsr/public_html/wp-includes/plugin.php(518): WP_Hook->do_action()
    #11 /home/mysite.com/nbatrjhcsr/public_html/wp-includes/class-wp.php(763): do_action_ref_array()
    #12 /home/mysite.com/nbatrjhcsr/public_html/wp-includes/functions.php(1291): WP->main()
    #13 /home/mysite.com/nbatrjhcsr/public_html/wp-blog-header.php(16): wp()
    #14 /home/mysite.com/nbatrjhcsr/public_html/index.php(17): require(‘/home/555033.cl…’)
    #15 {main}
    thrown in /home/mysite.com/nbatrjhcsr/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/services.php on line 72

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @embercide

    Thank you for reaching out to us, we will try to help you.
    I recommend deleting the plugin and installing it again, so all files will be installed again and the settings should remain as they are. It seems something is missing in the installation, so this should correct this issue.

    We changed the composer class-map and when it now says “class not found” then there is for example a problem that it uses the old class-map.

    Let us know if this resolves your issue. If not, we will take another look.

    Kind regards,
    Joost

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @embercide did you get anywhere with my recommendation?

    Kind regards,
    Joost

    • This reply was modified 4 years, 6 months ago by Jan Dembowski.
    Thread Starter embercide

    (@embercide)

    @joostvandevijver it doesn’t appear to have occured again after deleting & reinstalling.

    It’s concerning though that it happened in the first place…faulty plugin auto update perhaps..

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @embercide

    we have not had any other similar reports, so it could be caused by a conflicting mix of other plugins or the theme. If we get more reports we might come back to you for additional details to get this further investigated.

    Kind regards,
    Joost

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Critical uncaught error’ is closed to new replies.