# mautic.ERROR: CAMPAIGN:

**URL:** <https://forum.mautic.org/t/mautic-error-campaign/16674>\
**Category:** Product Support\
**Created:** [October 22, 2020, 2:21am UTC](https://forum.mautic.org/t/mautic-error-campaign/16674 "2020-10-22T02:21:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dale1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dale1/32/627_2.png) [@dale1](https://forum.mautic.org/u/dale1)\
**Post date:** [October 22, 2020, 2:21am UTC](https://forum.mautic.org/t/mautic-error-campaign/16674/1 "2020-10-22T02:21:07Z")

</div>

**Your software**  
My Mautic version is: v3.1.1  
My PHP version is: 7.3.23

**Your problem**  
My problem is: When attempting to go to [https://domain.io/s/config/edit](https://domain.io/s/config/edit) nothing happens. Checking the log I am seeing this.

These errors are showing in the log:  
Hey guys - I recently started receiving this error in the logs. It won’t allow me to go to the Configuration section. Anyone know how to resolve?  
[2020-10-22 00:00:05] mautic.ERROR: CAMPAIGN: An exception occurred while executing ‘REPLACE INTO mauln\_campaign\_lead\_event\_failed\_log( `log_id`, `date_added`, `reason`) SELECT id, :dateAdded as date\_added, :message as reason from mauln\_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 mauln\_campaign\_lead\_event\_l…’ at line 2

Steps I have tried to fix the problem:  
I haven’t tried anything yet as I am not looking to make DB changes if I am not sure what I am doing.

---

<div class="post-metadata">

**Author:** ![EJL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ejl/32/12155_2.png) [@EJL](https://forum.mautic.org/u/EJL)\
**Post date:** [October 22, 2020, 1:22pm UTC](https://forum.mautic.org/t/mautic-error-campaign/16674/2 "2020-10-22T13:22:25Z")

</div>

-What version of Mysql or MariaDB are you using?  
@silavapi Can we pretty please have SQL version added back to the support post template?

-Line 3 of your MauticInstall/App/Config/Local.php file say pdo\_mysql or something else?

-File permissions of cache and logs folders set appropriately? Sometimes causes weird errors.

-Run **console cache:clear** manually after and changes or upgrades?

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [October 22, 2020, 1:55pm UTC](https://forum.mautic.org/t/mautic-error-campaign/16674/3 "2020-10-22T13:55:30Z")

</div>

> [@EJL](#):
>
> @silavapi Can we pretty please have SQL version added back to the support post template?

Your wish is my command 🧙‍♀️ ✨ 🎇

---

<div class="post-metadata">

**Author:** ![EJL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ejl/32/12155_2.png) [@EJL](https://forum.mautic.org/u/EJL)\
**Post date:** [October 25, 2020, 5:11pm UTC](https://forum.mautic.org/t/mautic-error-campaign/16674/4 "2020-10-25T17:11:48Z")

</div>

Excellent! Improves user experience if we can quickly asses the variables when a support post is made.  
Many Thanks

[https://media.giphy.com/media/10avZ0rqdGFyfu/source.gif(image larger than 4096KB)](https://media.giphy.com/media/10avZ0rqdGFyfu/source.gif)
