Fatal error activating plugin
-
Running wordpress 6.6.2 and php 8.1
when i try to activate the plugin give me the message “Plugin could not be activated because it triggered a fatal error”.
The log in wp-admin shows this:
PHP Fatal error: Uncaught Error: Call to undefined method Monolog\Formatter\LineFormatter::setDateFormat() in /home/domain/public_html/wp-content/plugins/order-attachments-for-woocommerce/src/WCOA/Utils/Logger.php:41
Stack trace: 0 /home/domain/public_html/wp-content/plugins/order-attachments-for-woocommerce/src/WCOA/Utils/Logger.php(31): DirectSoftware\WCOA\Utils\Logger->initialize() 1 /home/domain/public_html/wp-content/plugins/order-attachments-for-woocommerce/src/WCOA/Utils/Logger.php(22): DirectSoftware\WCOA\Utils\Logger->__construct() 2 /home/domain/public_html/wp-content/plugins/order-attachments-for-woocommerce/src/WCOA/Kernel.php(165): DirectSoftware\WCOA\Utils\Logger::getInstance() 3 /home/domain/public_html/wp-includes/class-wp-hook.php(324): DirectSoftware\WCOA\Kernel::activation_task(false) 4 /home/domain/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 5 /home/domain/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 6 /home/domain/public_html/wp-admin/includes/plugin.php(703): do_action(‘activate_order-…’, false) 7 /home/domain/public_html/wp-admin/plugins.php(60): activate_plugin(‘order-attachmen…’, ‘https://domain…’, false) 8 {main}thrown in /home/domain/public_html/wp-content/plugins/order-attachments-for-woocommerce/src/WCOA/Utils/Logger.php on line 41
Hope you can help me
- You must be logged in to reply to this topic.