Title: PHP Fatal error &#8211; Activate plugin
Last modified: February 21, 2024

---

# PHP Fatal error – Activate plugin

 *  Resolved [Vitaio](https://wordpress.org/support/users/vitaio/)
 * (@vitaio)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-fatal-error-activate-plugin/)
 * I would like to use MailerLite WooCommerce but I can’t activate it.
 * **Any idea?**
 * [20-Feb-2024 16:32:59 UTC] PHP Fatal error: Uncaught Error: Call to undefined
   function error_log() in /home/users/funkcionalisorvoslashu/www/funkcionalisorvoslas.
   hu/wp-includes/class-wpdb.php:1822
   Stack trace: 0 /home/users/funkcionalisorvoslashu/
   www/funkcionalisorvoslas.hu/wp-includes/class-wpdb.php(2300): wpdb->print_error()
   1 /home/users/funkcionalisorvoslashu/www/funkcionalisorvoslas.hu/wp-admin/includes/
   upgrade.php(3194): wpdb->query() 2 /home/users/funkcionalisorvoslashu/www/funkcionalisorvoslas.
   hu/wp-content/plugins/woo-mailerlite/includes/classes/process/CheckoutProcess.
   php(180): dbDelta() 3 /home/users/funkcionalisorvoslashu/www/funkcionalisorvoslas.
   hu/wp-content/plugins/woo-mailerlite/includes/classes/settings/ShopSettings.php(
   79): MailerLite\Includes\Classes\Process\CheckoutProcess->createMailerliteCheckoutsTable()
   4 /home/users/funkcionalisorvoslashu/www/funkcionalisorvoslas.hu/wp-content/plugins/
   woo-mailerlite/woo-mailerlite.php(314): MailerLite\Includes\Classes\Settings\
   ShopSettings->toggleShopConnection() 5 /home/users/funkcionalisorvoslashu/www/
   funkcionalisorvoslas.hu/wp-includes/class-wp-hook.php(324): woo_ml_activate()
   6 /home/users/funkcionalisorvoslashu/www/funkcionalisorvoslas.hu/wp-includes/
   class-wp-hook.php(348): WP_Hook->apply_filters() 7 /home/users/funkcionalisorvoslashu/
   www/funkcionalisorvoslas.hu/wp-includes/plugin.php(517): WP_Hook->do_action()
   8 /home/users/funkcionalisorvoslashu/www/funkcionalisorvoslas.hu/wp-admin/includes/
   plugin.php(693): do_action() 9 /home/users/funkcionalisorvoslashu/www/funkcionalisorvoslas.
   hu/wp-admin/plugins.php(58): activate_plugin() 10 {main}
 * thrown in /home/users/funkcionalisorvoslashu/www/funkcionalisorvoslas.hu/wp-includes/
   class-wpdb.php on line 1822
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-fatal-error-activate-plugin%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [MailerLite](https://wordpress.org/support/users/mailerlite/)
 * (@mailerlite)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-fatal-error-activate-plugin/#post-17446959)
 * Hi [@vitaio](https://wordpress.org/support/users/vitaio/),
 * Thank you for all the details! We released a new version this week, could you
   update the plugin to the latest version and try one more time? If it persists
   we would like to ask two things:
    1. Please contact our support team via [this page](https://app.mailerlite.com/contact)(
       select Integrations & API > then Contact Support) so we can get more details
       on this case in a private channel for further investigation
    2. You can also contact your hosting provider to check this, since error_log is
       a core PHP function [https://www.php.net/manual/en/function.error-log.php](https://www.php.net/manual/en/function.error-log.php)
 * Thank you,
   MailerLite Team
 *  Plugin Author [MailerLite](https://wordpress.org/support/users/mailerlite/)
 * (@mailerlite)
 * [2 years ago](https://wordpress.org/support/topic/php-fatal-error-activate-plugin/#post-17789915)
 * Hi [@vitaio](https://wordpress.org/support/users/vitaio/)
 * Based on our recent investigations and fixes, this issue should be solved in 
   the recent versions of the plugin. If it persists for you, please, update your
   plugin to the latest version 2.1.12.
 * We will mark this thread as resolved for now. However, please don’t hesitate 
   to reach out to our support team if you notice any other issues or need additional
   assistance.
 * Thank you,
   MailerLite Team

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

The topic ‘PHP Fatal error – Activate plugin’ is closed to new replies.

 * ![](https://ps.w.org/woo-mailerlite/assets/icon-256x256.png?rev=3083985)
 * [MailerLite - WooCommerce integration](https://wordpress.org/plugins/woo-mailerlite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-mailerlite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-mailerlite/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-mailerlite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-mailerlite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-mailerlite/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [MailerLite](https://wordpress.org/support/users/mailerlite/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/php-fatal-error-activate-plugin/#post-17789915)
 * Status: resolved