• Resolved lukiluke

    (@lukiluke)


    Mailpoet gnerate this error

     Notice: unserialize(): Error at offset 1022 of 3188 bytes in /home/mhd-01/www.lucianoleoni.it/htdocs/wp-content/plugins/mailpoet/lib/Doctrine/Types/SerializedArrayType.php on line 27
    
    This is info mailpoet
    
    

    PHP version: 7.4.27
    MailPoet Free version: 3.96.1
    MailPoet Premium version: N/A
    MailPoet Premium/MSS key: ace7d4564ba0cebc****************
    WordPress version: 6.0.2
    Database version: 5.7.25
    Web server: Apache
    Server OS: Linux w-58.th.seeweb.it 4.9.0-17-amd64 #1 SMP Debian 4.9.290-1 (2021-12-12) x86_64
    WP info: WP_MEMORY_LIMIT: 40M – WP_MAX_MEMORY_LIMIT: 256M – WP_DEBUG: – WordPress language: it_IT
    PHP info: PHP max_execution_time: 120 – PHP memory_limit: 256M – PHP upload_max_filesize: 32M – PHP post_max_size: 32M
    Multisite environment?: No
    Current Theme: Astra (version 3.9.2)
    Active Plugin names: 404-to-301/404-to-301.php, akeebabackupwp/akeebabackupwp.php, astra-sites/astra-sites.php, cookies-and-content-security-policy/cookies-and-content-security-policy.php, duplicate-post/duplicate-post.php, easy-appointments/main.php, elementor/elementor.php, mailpoet/mailpoet.php, presto-player/presto-player.php, pro-elements/pro-elements.php, show-me-the-cookies/cookies.php, woocommerce-direct-checkout/woocommerce-direct-checkout.php, woocommerce-payments/woocommerce-payments.php, woocommerce-paypal-payments/woocommerce-paypal-payments.php, woocommerce/woocommerce.php, wp-maintenance-mode/wp-maintenance-mode.php, wp-rocket/wp-rocket.php, wpforms-lite/wpforms.php
    Sending Method: MailPoet
    Sending Frequency: 25 emails every 5 minutes
    MailPoet sending info: Send all site’s emails with: default WordPress sending method – Task Scheduler method: WordPress – Cron ping URL: https://www.lucianoleoni.it?mailpoet_router&endpoint=cron_daemon&action=ping – Default FROM address: [email protected] – Default Reply-To address: [email protected] – Bounce Email Address:
    Total number of subscribers: 6
    Plugin installed at: 2022-08-07 10:06:02
    Installed via WooCommerce onboarding wizard: false

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support Ojoma a11n

    (@geraltrivia)

    Hello @lukiluke ,

    Thank you for contacting MailPoet support. I will be happy to help you with this.

    I’m sorry to hear that you’re seeing MailPoet-related PHP notices in your PHP logs.

    We’ve seen such notices happening before after restoring site’s backup. Can you please confirm that it’s not the case?

    I see another report of this same “Notice: unserialize(): Error at offset in ******/lib/Doctrine/Types/SerializedArrayType.php” error in our support system, and in that user’s case, they resolved the issue by deactivating a separate “Bounce Handler” plugin that they had installed.
    Do you have a Bounce Handler add-on currently active on your site? If so, please try deactivating it and see if that clears out that Notice.

    Also, can you please try to re-install the plugin by following these steps: Re-installing / Updating the Plugin via FTP?

    Have a great day.

    Thread Starter lukiluke

    (@lukiluke)

    Not an installed Bounce Plugin. It is not a backup restore. If I install Mailpoet again, do the saved configurations remain?

    Plugin Author Bruna a11n

    (@bruberries)

    Hi @lukiluke,

    Do you mean the data from the MailPoet plugin? If you re-install the plugin via FTP following our steps in this article, you don’t need to worry about it.

    You won’t lose any data, and no additional database queries are run.

    Thread Starter lukiluke

    (@lukiluke)

    I installed again via FTP Mailpoet but unfortunately the error remains

    Plugin Author Bruna a11n

    (@bruberries)

    Hi @lukiluke,

    In this case, could you please contact us via https://www.mailpoet.com/support/sales-pre-sales-questions/ and include a link to this thread?

    Your request will be triaged accordingly when received, and we’ll be able to continue troubleshooting your problem there.

    Thank you!

    Hi,
    Was this resolved? I have exactly the same problem. And DB is not from a backup

    I put a debug trace in the file from which the problem was reported (mailpoet/lib/Doctrine/Types/SerializedArrayType.php on line 27) and found that the erraneous data originates from a form I created (so deleting the form got rid of the error message).

    The problem is that the data you try to unserialize is corrupted due to unescaped double quotes inside a double quoted string.

    You may want to show this example of corrupted data to your dev team: (the problem starts at ‘s:306:”<span style=”font-family: Concert One” data…’

    a:7:{i:0;a:3:{s:4:"type";s:7:"heading";s:2:"id";s:7:"heading";s:6:"params";a:9:{s:7:"content";s:133:"<strong><span style="font-family: Concert One" data-font="Concert One" class="mailpoet-has-font">Restons en contact !</span></strong>";s:5:"level";s:1:"2";s:5:"align";s:6:"center";s:9:"font_size";s:2:"50";s:10:"text_color";s:7:"#ffffff";s:11:"line_height";s:1:"1";s:16:"background_color";s:0:"";s:6:"anchor";s:0:"";s:10:"class_name";s:0:"";}}i:1;a:3:{s:4:"type";s:9:"paragraph";s:2:"id";s:9:"paragraph";s:6:"params";a:8:{s:7:"content";s:306:"<span style="font-family: Concert One" data-font="Concert One" class="mailpoet-has-font">Nous aimerions vous tenir au courant de nos dernières nouvelles et offres</span> <img src="https://s.w.org/images/core/emoji/14.0.0/72x72/1f60e.png" alt="?" class="wp-smiley" style="height: 1em;max-height: 1em" />";s:8:"drop_cap";s:1:"0";s:5:"align";s:6:"center";s:9:"font_size";s:2:"20";s:11:"line_height";s:1:"1";s:10:"text_color";s:7:"#ffffff";s:16:"background_color";s:0:"";s:10:"class_name";s:0:"";}}i:2;a:5:{s:4:"type";s:4:"text";s:6:"params";a:3:{s:5:"label";s:21:"Quel est votre nom??";s:10:"class_name";s:0:"";s:12:"label_within";s:1:"1";}s:2:"id";s:10:"first_name";s:4:"name";s:10:"First name";s:6:"styles";a:7:{s:10:"full_width";s:1:"1";s:4:"bold";s:1:"0";s:16:"background_color";s:7:"#ffffff";s:10:"font_color";s:7:"#5b8ba7";s:11:"border_size";s:1:"0";s:13:"border_radius";s:1:"4";s:12:"border_color";s:7:"#313131";}}i:3;a:5:{s:4:"type";s:4:"text";s:6:"params";a:3:{s:5:"label";s:26:"Et votre nom de famille??";s:10:"class_name";s:0:"";s:12:"label_within";s:1:"1";}s:2:"id";s:9:"last_name";s:4:"name";s:9:"Last name";s:6:"styles";a:7:{s:10:"full_width";s:1:"1";s:4:"bold";s:1:"0";s:16:"background_color";s:7:"#ffffff";s:10:"font_color";s:7:"#5b8ba7";s:11:"border_size";s:1:"0";s:13:"border_radius";s:1:"4";s:12:"border_color";s:7:"#313131";}}i:4;a:5:{s:4:"type";s:4:"text";s:6:"params";a:4:{s:5:"label";s:14:"Adresse e-mail";s:10:"class_name";s:0:"";s:8:"required";s:1:"1";s:12:"label_within";s:1:"1";}s:2:"id";s:5:"email";s:4:"name";s:5:"Email";s:6:"styles";a:7:{s:10:"full_width";s:1:"1";s:4:"bold";s:1:"0";s:16:"background_color";s:7:"#ffffff";s:10:"font_color";s:7:"#5b8ba7";s:11:"border_size";s:1:"0";s:13:"border_radius";s:1:"4";s:12:"border_color";s:7:"#313131";}}i:5;a:5:{s:4:"type";s:6:"submit";s:6:"params";a:2:{s:5:"label";s:23:"Tenez-moi au courant?!";s:10:"class_name";s:0:"";}s:2:"id";s:6:"submit";s:4:"name";s:6:"Submit";s:6:"styles";a:9:{s:10:"full_width";s:1:"1";s:4:"bold";s:1:"1";s:16:"background_color";s:7:"#ff6900";s:9:"font_size";s:2:"24";s:10:"font_color";s:7:"#ffffff";s:11:"border_size";s:1:"0";s:13:"border_radius";s:2:"40";s:7:"padding";s:2:"12";s:11:"font_family";s:6:"Ubuntu";}}i:6;a:3:{s:4:"type";s:9:"paragraph";s:2:"id";s:9:"paragraph";s:6:"params";a:8:{s:7:"content";s:193:"<span style="font-family: Concert One" data-font="Concert One" class="mailpoet-has-font">Nous ne spammons pas?! Consultez notre politique de confidentialité pour plus d’informations.</span>";s:8:"drop_cap";s:1:"0";s:5:"align";s:6:"center";s:9:"font_size";s:2:"14";s:11:"line_height";s:3:"1.2";s:10:"text_color";s:7:"#ffffff";s:16:"background_color";s:0:"";s:10:"class_name";s:0:"";}}}

    No reaction from MailPoet yet… This is an annoying bug that can probably be easily fixed. I don’t understand why we should contact “Pre-sales support”??

    Notice: unserialize(): Error at offset 1586 of 1643 bytes in /var/www/xxx/wp-content/plugins/mailpoet/lib/Doctrine/Types/SerializedArrayType.php on line 27

    The same here.

    • This reply was modified 1 year, 10 months ago by gopa4.

    Thanks for the heads up @christer_f, I deleted an old unused MailPoet signup form and it removed the error message.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Error unserialize 1022 of 3188 bytes SerializedArrayType.php on line 27’ is closed to new replies.