• Resolved Jorihlen

    (@jorihlen)


    This site is down since 2023-03-24 because of a severe error in PHP when processing the instruction below, any help will be great:

    [24-Mar-2023 15:21:17 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /home8/gustavof/public_html/web/wp-content/plugins/mailpoet/lib-3rd-party/Idiorm/idiorm.php:520
    Stack trace:

    0 /home8/gustavof/public_html/web/wp-content/plugins/mailpoet/lib-3rd-party/Idiorm/idiorm.php(520): PDOStatement->execute()

    1 /home8/gustavof/public_html/web/wp-content/plugins/mailpoet/lib-3rd-party/Idiorm/idiorm.php(1924): MailPoetVendor\Idiorm\ORM::_execute(‘SELECT * FROM `…’, Array, ‘default’)

    2 /home8/gustavof/public_html/web/wp-content/plugins/mailpoet/lib-3rd-party/Idiorm/idiorm.php(754): MailPoetVendor\Idiorm\ORM->_run()

    3 [internal function]: MailPoetVendor\Idiorm\ORM->find_array()

    4 /home8/gustavof/public_html/web/wp-content/plugins/mailpoet/lib-3rd-party/Idiorm/idiorm.php(2284): call_user_func_array(Array, Array)

    5 /home8/gustavof/public_html/web/wp-content/plugins/mailpoet/lib/API/MP/v1/API.php(265): MailPoetVendor\Idiorm\ORM->__call(‘findArray’, Array)

    6 /home8/gustavof/public_html/web/wp-con in /home8/gustavof/public_html/web/wp-content/plugins/mailpoet/lib-3rd-party/Idiorm/idiorm.php on line 520

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Bruna a11n

    (@bruberries)

    Hi @jorihlen,

    I’m sorry to hear the plugin is not working and your website is down.

    This error message (PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in…) refers to a temporary error that?happens when MailPoet could not establish a database connection at that time.

    It may have two main causes and solutions:

    • Server timed out and closed the connection. To fix, check that wait_timeout mysql variable in your my.cnf configuration file is large enough, eg wait_timeout = 28800 You may also need to increase the innodb_log_file_size mysql variable in your my.cnf configuration to for example 128MB or higher.
    • Server dropped an incorrect or too large packet. If mysqld gets a packet that is too large or incorrect, it assumes that something has gone wrong with the client and closes the connection. To fix, you can increase the maximal packet size limit max_allowed_packet in my.cnf file, eg. set max_allowed_packet = 128M, then restart your MySQL server: sudo /etc/init.d/mysql restart

    For both cases, we suggest you contact the support staff of your host and ask for further assistance.

    Plugin Support Ojoma a11n

    (@geraltrivia)

    Hello there @jorihlen ,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Have a great day.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error procesing public_html/web/wp-content/plugins/mailpoet/lib-3rd-party/’ is closed to new replies.