• Resolved jomo

    (@jonathanmoorebcsorg)


    hi, this site doesn’t use blocks and classic editor is enabled but after upgrading WooCommerce from 4.x to 5.2.2 these types of errors appear in the logs:

    [06-May-2021 20:34:02 UTC] PHP Fatal error:  Uncaught Error: Class 'Composer\Installers\BaseInstaller' not found in [..]plugins/woocommerce/packages/woocommerce-blocks/vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php:5
    Stack trace:
    #0 {main}
      thrown in [..]plugins/woocommerce/packages/woocommerce-blocks/vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php on line 5
    [06-May-2021 20:46:08 UTC] PHP Fatal error:  Uncaught Error: Class 'Composer\Installers\BaseInstaller' not found in [..]plugins/woocommerce/packages/woocommerce-blocks/vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php:13
    Stack trace:
    #0 {main}
      thrown in [..]plugins/woocommerce/packages/woocommerce-blocks/vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php on line 13
    [06-May-2021 21:06:05 UTC] PHP Fatal error:  Uncaught Error: Class 'Composer\Installers\BaseInstaller' not found in [..]plugins/woocommerce/packages/woocommerce-blocks/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php:4
    Stack trace:
    #0 {main}
      thrown in [..]plugins/woocommerce/packages/woocommerce-blocks/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php on line 4
    [06-May-2021 21:08:13 UTC] PHP Fatal error:  Uncaught Error: Class 'Composer\Installers\BaseInstaller' not found in [..]plugins/woocommerce/packages/woocommerce-blocks/vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php:4
    Stack trace:
    #0 {main}
      thrown in [..]plugins/woocommerce/packages/woocommerce-blocks/vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php on line 4
    [06-May-2021 21:15:21 UTC] PHP Fatal error:  Uncaught Error: Class 'Composer\Installers\BaseInstaller' not found in [..]plugins/woocommerce/packages/woocommerce-blocks/vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php:4
    Stack trace:
    #0 {main}
      thrown in [..]plugins/woocommerce/packages/woocommerce-blocks/vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php on line 4

    as far as we know we don’t want or need any of these blocks or installers, why and in what context would they be fatal errors?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Riaan K.

    (@riaanknoetze)

    Hi there,

    Just as a test, are you still seeing these errors when disabling your classic-editor plugin? Also, can you share a copy of your status report found under **WooCommerce > Status** as well as elaborating a bit more on how that update was done – was this through FTP or the normal plugin update procedure?

    Thread Starter jomo

    (@jonathanmoorebcsorg)

    standard update, though is multisite. scheduled actions were run but the database update complete message would not go away until wc-update-db-reminder forcibly actioned in wp_wc_admin_notes.

    error messages do not appear in normal use either by admins, or by users successfully checking out via multiple gateways.

    wp-cron is disabled and cron is run by wp-cli wp cron event run –due-now for each site, however error in logs do not appear to match cron timetable either

    error doesn’t appear in local development environment

    initial conclusion, could be penetration attacks, trying some url which isn’t part of normal operation, will try to capture url

    Plugin Support slash1andy

    (@slash1andy)

    Automattic Happiness Engineer

    Hey again!

    Please do keep us updated. It does sound like the URL that is causing that isn’t something that should normally be accessed by customers or admins.

    MayKato

    (@maykato)

    Hi @jonathanmoorebcsorg

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

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

The topic ‘Uncaught Error: Class ‘Composer\Installers\BaseInstaller’ not found’ is closed to new replies.