# 500 Error When Trying to Edit Existing Focus Items + 2 more issues

**URL:** <https://forum.mautic.org/t/500-error-when-trying-to-edit-existing-focus-items-2-more-issues/17140>\
**Category:** Product Support\
**Created:** [November 25, 2020, 12:08am UTC](https://forum.mautic.org/t/500-error-when-trying-to-edit-existing-focus-items-2-more-issues/17140 "2020-11-25T00:08:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mautickook](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mautickook/32/1290_2.png) [@mautickook](https://forum.mautic.org/u/mautickook)\
**Post date:** [November 25, 2020, 12:08am UTC](https://forum.mautic.org/t/500-error-when-trying-to-edit-existing-focus-items-2-more-issues/17140/1 "2020-11-25T00:08:53Z")

</div>

**Your software**  
My Mautic version is: 2.16.3  
My PHP version is: 7.3  
My Database type and version is: Mariadb 10.4

**Your problem**  
My problem is: I seem to have several issues on my Mautic installation:

1: I can’t edit any existing focus items in builder - I get a 500 error - but I can create new ones.  
2: My existing campaigns will not send me email sequence.  
3: I also can’t update my current version of Mautic.

These errors are showing in the log:

[2020-11-25 09:50:44] mautic.CRITICAL: Uncaught PHP Exception RuntimeException: “Issuer certificate is invalid.” at /home/thetrave1/domains/mail.thetravellinghousesitters.com/public\_html/vendor/joomla/http/src/Transport/Curl.php line 185 {“exception”:"[object] (RuntimeException(code: 0): Issuer certificate is invalid. at /home/thetrave1/domains/mail.thetravellinghousesitters.com/public\_html/vendor/joomla/http/src/Transport/Curl.php:185)"}   
[2020-11-24 23:00:02] mautic.ERROR: CAMPAIGN: An exception occurred while executing ‘REPLACE INTO mauaf\_campaign\_lead\_event\_failed\_log( `log_id`, `date_added`, `reason`) SELECT id, :dateAdded as date\_added, :message as reason from mauaf\_campaign\_lead\_event\_log WHERE is\_scheduled = 1 AND lead\_id = :contactId AND campaign\_id = :campaignId AND rotation = :rotation’: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘:dateAdded as date\_added, :message as reason from mauaf\_campaign\_lead\_event\_l…’ at line 2    
[2020-11-24 23:00:02] mautic.ERROR: CAMPAIGN: An exception occurred while executing ‘REPLACE INTO mauaf\_campaign\_lead\_event\_failed\_log( `log_id`, `date_added`, `reason`) SELECT id, :dateAdded as date\_added, :message as reason from mauaf\_campaign\_lead\_event\_log WHERE is\_scheduled = 1 AND lead\_id = :contactId AND campaign\_id = :campaignId AND rotation = :rotation’: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘:dateAdded as date\_added, :message as reason from mauaf\_campaign\_lead\_event\_l…’ at line 2    
[2020-11-25 10:07:59] mautic.CRITICAL: Uncaught PHP Exception RuntimeException: “Issuer certificate is invalid.” at /home/thetrave1/domains/mail.thetravellinghousesitters.com/public\_html/vendor/joomla/http/src/Transport/Curl.php line 185 {“exception”:"[object] (RuntimeException(code: 0): Issuer certificate is invalid. at /home/thetrave1/domains/mail.thetravellinghousesitters.com/public\_html/vendor/joomla/http/src/Transport/Curl.php:185)"}   
[2020-11-24 23:10:16] mautic.ERROR: CAMPAIGN: An exception occurred while executing ‘REPLACE INTO mauaf\_campaign\_lead\_event\_failed\_log( `log_id`, `date_added`, `reason`) SELECT id, :dateAdded as date\_added, :message as reason from mauaf\_campaign\_lead\_event\_log WHERE is\_scheduled = 1 AND lead\_id = :contactId AND campaign\_id = :campaignId AND rotation = :rotation’: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘:dateAdded as date\_added, :message as reason from mauaf\_campaign\_lead\_event\_l…’ at line 2    
[2020-11-24 23:20:02] mautic.ERROR: CAMPAIGN: An exception occurred while executing ‘REPLACE INTO mauaf\_campaign\_lead\_event\_failed\_log( `log_id`, `date_added`, `reason`) SELECT id, :dateAdded as date\_added, :message as reason from mauaf\_campaign\_lead\_event\_log WHERE is\_scheduled = 1 AND lead\_id = :contactId AND campaign\_id = :campaignId AND rotation = :rotation’: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘:dateAdded as date\_added, :message as reason from mauaf\_campaign\_lead\_event\_l…’ at line 2    
[2020-11-24 23:30:01] mautic.ERROR: CAMPAIGN: An exception occurred while executing ‘REPLACE INTO mauaf\_campaign\_lead\_event\_failed\_log( `log_id`, `date_added`, `reason`) SELECT id, :dateAdded as date\_added, :message as reason from mauaf\_campaign\_lead\_event\_log WHERE is\_scheduled = 1 AND lead\_id = :contactId AND campaign\_id = :campaignId AND rotation = :rotation’: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘:dateAdded as date\_added, :message as reason from mauaf\_campaign\_lead\_event\_l…’ at line 2    
[2020-11-25 10:38:15] mautic.CRITICAL: Uncaught PHP Exception RuntimeException: “Issuer certificate is invalid.” at /home/thetrave1/domains/mail.thetravellinghousesitters.com/public\_html/vendor/joomla/http/src/Transport/Curl.php line 185 {“exception”:"[object] (RuntimeException(code: 0): Issuer certificate is invalid. at /home/thetrave1/domains/mail.thetravellinghousesitters.com/public\_html/vendor/joomla/http/src/Transport/Curl.php:185)"}   
[2020-11-25 10:39:18] mautic.ERROR: [MAIL ERROR] Expected response code 250 but got code “554”, with message “554 Message rejected: Email address is not verified. The following identities failed the check in region EU-WEST-1: [mckinlayjay@hotmail.com](mailto:mckinlayjay@hotmail.com), Jayden Mckinlay [mckinlayjay@hotmail.com](mailto:mckinlayjay@hotmail.com) " Log data: ++ Starting Mautic\EmailBundle\Swiftmailer\Transport\AmazonTransport \<\< 220 [email-smtp.amazonaws.com](http://email-smtp.amazonaws.com) ESMTP SimpleEmailService-d-UHTFVJHE7 84Qkgw4Rd9RpxSJXiGT9 \>\> EHLO [www.mail.thetravellinghousesitters.com](http://www.mail.thetravellinghousesitters.com) \<\< [250-email-smtp.amazonaws.com](http://250-email-smtp.amazonaws.com) 250-8BITMIME 250-STARTTLS 250-AUTH PLAIN LOGIN 250 Ok \>\> STARTTLS \<\< 220 Ready to start TLS \>\> EHLO [www.mail.thetravellinghousesitters.com](http://www.mail.thetravellinghousesitters.com) \<\< [250-email-smtp.amazonaws.com](http://250-email-smtp.amazonaws.com) 250-8BITMIME 250-STARTTLS 250-AUTH PLAIN LOGIN 250 Ok \>\> AUTH LOGIN \<\< 334 VXNlcm5hbWU6 \>\> QUtJQTRVSVRJMkFZVDczSjNWRzM= \<\< 334 UGFzc3dvcmQ6 \>\> QkxHWHNrTDlPS243d0dPRHNkZ2ZTUzYrOERWektJbnltVGw1M3lMRmx1NjQ= \<\< 235 Authentication successful. ++ Mautic\EmailBundle\Swiftmailer\Transport\AmazonTransport started \>\> MAIL FROM:[mckinlayjay@hotmail.com](mailto:mckinlayjay@hotmail.com) \<\< 250 Ok \>\> RCPT TO:[mckinlayjay@hotmail.com](mailto:mckinlayjay@hotmail.com) \<\< 250 Ok \>\> DATA \<\< 354 End data with . \>\> . \<\< 554 Message rejected: Email address is not verified. The following identities failed the check in region EU-WEST-1: [mckinlayjay@hotmail.com](mailto:mckinlayjay@hotmail.com), Jayden Mckinlay [mckinlayjay@hotmail.com](mailto:mckinlayjay@hotmail.com) !! Expected response code 250 but got code “554”, with message “554 Message rejected: Email address is not verified. The following identities failed the check in region EU-WEST-1: [mckinlayjay@hotmail.com](mailto:mckinlayjay@hotmail.com), Jayden Mckinlay [mckinlayjay@hotmail.com](mailto:mckinlayjay@hotmail.com) " (code: 554) (send); [mckinlayjay@hotmail.com](mailto:mckinlayjay@hotmail.com) {“exception”:”[object] (Swift\_TransportException(code: 554): Expected response code 250 but got code “554”, with message “554 Message rejected: Email address is not verified. The following identities failed the check in region EU-WEST-1: [mckinlayjay@hotmail.com](mailto:mckinlayjay@hotmail.com), Jayden Mckinlay [mckinlayjay@hotmail.com](mailto:mckinlayjay@hotmail.com)\r\n”\nLog data:\n++ Starting Mautic\EmailBundle\Swiftmailer\Transport\AmazonTransport\n\<\< 220 [email-smtp.amazonaws.com](http://email-smtp.amazonaws.com) ESMTP SimpleEmailService-d-UHTFVJHE7 84Qkgw4Rd9RpxSJXiGT9\r\n\n\>\> EHLO [www.mail.thetravellinghousesitters.com](http://www.mail.thetravellinghousesitters.com)\r\n\n\<\< [250-email-smtp.amazonaws.com](http://250-email-smtp.amazonaws.com)\r\n250-8BITMIME\r\n250-STARTTLS\r\n250-AUTH PLAIN LOGIN\r\n250 Ok\r\n\n\>\> STARTTLS\r\n\n\<\< 220 Ready to start TLS\r\n\n\>\> EHLO [www.mail.thetravellinghousesitters.com](http://www.mail.thetravellinghousesitters.com)\r\n\n\<\< [250-email-smtp.amazonaws.com](http://250-email-smtp.amazonaws.com)\r\n250-8BITMIME\r\n250-STARTTLS\r\n250-AUTH PLAIN LOGIN\r\n250 Ok\r\n\n\>\> AUTH LOGIN\r\n\n\<\< 334 VXNlcm5hbWU6\r\n\n\>\> QUtJQTRVSVRJMkFZVDczSjNWRzM=\r\n\n\<\< 334 UGFzc3dvcmQ6\r\n\n\>\> QkxHWHNrTDlPS243d0dPRHNkZ2ZTUzYrOERWektJbnltVGw1M3lMRmx1NjQ=\r\n\n\<\< 235 Authentication successful.\r\n\n++ Mautic\EmailBundle\Swiftmailer\Transport\AmazonTransport started\n\>\> MAIL FROM:[mckinlayjay@hotmail.com](mailto:mckinlayjay@hotmail.com)\r\n\n\<\< 250 Ok\r\n\n\>\> RCPT TO:[mckinlayjay@hotmail.com](mailto:mckinlayjay@hotmail.com)\r\n\n\<\< 250 Ok\r\n\n\>\> DATA\r\n\n\<\< 354 End data with .\r\n\n\>\> \r\n.\r\n\n\<\< 554 Message rejected: Email address is not verified. The following identities failed the check in region EU-WEST-1: [mckinlayjay@hotmail.com](mailto:mckinlayjay@hotmail.com), Jayden Mckinlay [mckinlayjay@hotmail.com](mailto:mckinlayjay@hotmail.com)\r\n\n!! Expected response code 250 but got code “554”, with message “554 Message rejected: Email address is not verified. The following identities failed the check in region EU-WEST-1: [mckinlayjay@hotmail.com](mailto:mckinlayjay@hotmail.com), Jayden Mckinlay [mckinlayjay@hotmail.com](mailto:mckinlayjay@hotmail.com)\r\n” (code: 554) at /home/thetrave1/domains/mail.thetravellinghousesitters.com/public\_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Plugins/LoggerPlugin.php:140)”}   
[2020-11-24 23:40:02] mautic.ERROR: CAMPAIGN: An exception occurred while executing ‘REPLACE INTO mauaf\_campaign\_lead\_event\_failed\_log( `log_id`, `date_added`, `reason`) SELECT id, :dateAdded as date\_added, :message as reason from mauaf\_campaign\_lead\_event\_log WHERE is\_scheduled = 1 AND lead\_id = :contactId AND campaign\_id = :campaignId AND rotation = :rotation’: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘:dateAdded as date\_added, :message as reason from mauaf\_campaign\_lead\_event\_l…’ at line 2    
[2020-11-24 23:50:02] mautic.ERROR: CAMPAIGN: An exception occurred while executing ‘REPLACE INTO mauaf\_campaign\_lead\_event\_failed\_log( `log_id`, `date_added`, `reason`) SELECT id, :dateAdded as date\_added, :message as reason from mauaf\_campaign\_lead\_event\_log WHERE is\_scheduled = 1 AND lead\_id = :contactId AND campaign\_id = :campaignId AND rotation = :rotation’: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘:dateAdded as date\_added, :message as reason from mauaf\_campaign\_lead\_event\_l…’ at line 2    
[2020-11-25 10:54:58] mautic.CRITICAL: Uncaught PHP Exception RuntimeException: “Issuer certificate is invalid.” at /home/thetrave1/domains/mail.thetravellinghousesitters.com/public\_html/vendor/joomla/http/src/Transport/Curl.php line 185 {“exception”:"[object] (RuntimeException(code: 0): Issuer certificate is invalid. at /home/thetrave1/domains/mail.thetravellinghousesitters.com/public\_html/vendor/joomla/http/src/Transport/Curl.php:185)"}   
[2020-11-25 10:58:29] mautic.CRITICAL: Uncaught PHP Exception RuntimeException: “Issuer certificate is invalid.” at /home/thetrave1/domains/mail.thetravellinghousesitters.com/public\_html/vendor/joomla/http/src/Transport/Curl.php line 185 {“exception”:"[object] (RuntimeException(code: 0): Issuer certificate is invalid. at /home/thetrave1/domains/mail.thetravellinghousesitters.com/public\_html/vendor/joomla/http/src/Transport/Curl.php:185)"}

Steps I have tried to fix the problem: Tried to update Mautic (failed), cleared Mautic cache, updated schema

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [November 26, 2020, 9:39pm UTC](https://forum.mautic.org/t/500-error-when-trying-to-edit-existing-focus-items-2-more-issues/17140/2 "2020-11-26T21:39:31Z")

</div>

Hi,

1. Focus item error is happening because you filled out the website preview field. Remove that entry from the db and you will be okay
2. Campaign emails: are the email/segment/campaign published? Did you set the cronjobs properly?
3. Please do upgrade only with the command line. There are a bunch of tutorials about it.

Good luck!
