• Resolved Dario Banfi

    (@thefreelance)


    Hi everybody. First of all, I love MailPoet very much! Thanks a lot for this plugin I use daily!! I have an issue. I searched the forum, without having found solutions.
    I keep getting errors (in php_errorlog file) like this on my site:

    PHP Warning:  Error while sending QUERY packet. PID=75028 in /****** absolute path ******/public_html/wp-content/plugins/mailpoet/lib/Doctrine/Driver/PDOStatement.php on line 88
    PHP Warning:  Error while sending QUERY packet. PID=75028 in /****** absolute path ******/public_html/wp-includes/wp-db.php on line 2056
    PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /****** absolute path ******/public_html/wp-content/plugins/mailpoet/lib-3rd-party/Idiorm/idiorm.php:520
    Stack trace:
    #0 /****** absolute path ******/public_html/wp-content/plugins/mailpoet/lib-3rd-party/Idiorm/idiorm.php(520): PDOStatement->execute()
    #1 /****** absolute path ******/public_html/wp-content/plugins/mailpoet/lib-3rd-party/Idiorm/idiorm.php(1924): MailPoetVendor\Idiorm\ORM::_execute('SELECT * FROM 

    …’, Array, ‘default’)
    #2 /****** absolute path ******/public_html/wp-content/plugins/mailpoet/lib-3rd-party/Idiorm/idiorm.php(702): MailPoetVendor\Idiorm\ORM->_run()
    #3 /****** absolute path ******/public_html/wp-content/plugins/mailpoet/lib-3rd-party/Paris/paris.php(153): MailPoetVendor\Idiorm\ORM->find_one(1)
    #4 [internal function]: MailPoetVendor\Paris\ORMWrapper->find_one(1)
    #5 /****** absolute path ******/public_html/wp-content/plugins/mailpoet/lib-3rd-party/Idiorm/idiorm in /home/customer/www/federnotizie.it/public_html/wp-content/plugins/mailpoet/lib-3rd-party/Idiorm/idiorm.php on line 520`

    **** Server details ****
    Plugin version => 3.56.2.
    WP => 5.6. Php => 7.3.25.
    PHP max input variables => 3000
    PHP time limit => 120
    PHP memory limit => 768M
    Max input time => 120
    PHP post max size => 256M
    *************************

    Please have any suggestions on how to fix?
    Thank you very musch for the support you will be able to give me.

Viewing 1 replies (of 1 total)
  • Thread Starter Dario Banfi

    (@thefreelance)

    It seems I fixed the problem, for now 😉
    I write in case someone else needs to know or wants to give me other suggestions…

    I increased the server resources, with this parameters:
    max_execution_time => 600, max_input_time => 600, max_allowed_packet => 256MB
    Then I cleared all transients and optimized the DB. After I increased the limit for low tolerance on files open (ulimit).

    For now it seems working.
    Thanks.

Viewing 1 replies (of 1 total)

The topic ‘Error with “lib-3rd-party/Idiorm”’ is closed to new replies.