# Problems after updating Mautic

**URL:** <https://forum.mautic.org/t/problems-after-updating-mautic/25355>\
**Category:** Mautic 4 Install/Upgrade Support\
**Created:** [September 11, 2022, 9:47pm UTC](https://forum.mautic.org/t/problems-after-updating-mautic/25355 "2022-09-11T21:47:30Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![robomanus](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/robomanus/32/510_2.png) [@robomanus](https://forum.mautic.org/u/robomanus)\
**Post date:** [September 11, 2022, 9:47pm UTC](https://forum.mautic.org/t/problems-after-updating-mautic/25355/1 "2022-09-11T21:47:30Z")

</div>

**Your software**  
_My PHP version is_ : 7.4.26  
_My MySQL/MariaDB version is_ 10.4.25-MariaDB-cll-lve

**Updating/Installing Errors**  
_I am_: Updating  
_Upgrading via_ : Web

_These errors are showing in the installer_ : None

_These errors are showing in the Mautic log_ :

```auto
[2022-09-11 23:37:00] mautic.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\InvalidFieldNameException: "An exception occurred while executing 'SELECT t0.is_published AS is_published_1, t0.date_added AS date_added_2, t0.created_by AS created_by_3, t0.created_by_user AS created_by_user_4, t0.date_modified AS date_modified_5, t0.modified_by AS modified_by_6, t0.modified_by_user AS modified_by_user_7, t0.checked_out AS checked_out_8, t0.checked_out_by AS checked_out_by_9, t0.checked_out_by_user AS checked_out_by_user_10, t0.id AS id_11, t0.name AS name_12, t0.description AS description_13, t0.alias AS alias_14, t0.public_name AS public_name_15, t0.filters AS filters_16, t0.is_global AS is_global_17, t0.is_preference_center AS is_preference_center_18, t0.last_built_date AS last_built_date_19, t0.category_id AS category_id_20 FROM ma_lead_lists t0 INNER JOIN ma_email_list_xref ON t0.id = ma_email_list_xref.leadlist_id WHERE ma_email_list_xref.email_id = ?' with params [10]: SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.last_built_date' in 'field list'" at /home/srv35830/domains/wernermusic.pl/public_html/mail/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 79 {"exception":"[object] (Doctrine\\DBAL\\Exception\\InvalidFieldNameException(code: 0): An exception occurred while executing 'SELECT t0.is_published AS is_published_1, t0.date_added AS date_added_2, t0.created_by AS created_by_3, t0.created_by_user AS created_by_user_4, t0.date_modified AS date_modified_5, t0.modified_by AS modified_by_6, t0.modified_by_user AS modified_by_user_7, t0.checked_out AS checked_out_8, t0.checked_out_by AS checked_out_by_9, t0.checked_out_by_user AS checked_out_by_user_10, t0.id AS id_11, t0.name AS name_12, t0.description AS description_13, t0.alias AS alias_14, t0.public_name AS public_name_15, t0.filters AS filters_16, t0.is_global AS is_global_17, t0.is_preference_center AS is_preference_center_18, t0.last_built_date AS last_built_date_19, t0.category_id AS category_id_20 FROM ma_lead_lists t0 INNER JOIN ma_email_list_xref ON t0.id = ma_email_list_xref.leadlist_id WHERE ma_email_list_xref.email_id = ?' with params [10]:\n\nSQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.last_built_date' in 'field list' at /home/srv35830/domains/wernermusic.pl/public_html/mail/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:79, Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.last_built_date' in 'field list' at /home/srv35830/domains/wernermusic.pl/public_html/mail/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18, PDOException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.last_built_date' in 'field list' at /home/srv35830/domains/wernermusic.pl/public_html/mail/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:117)"} {"hostname":"h19.seohost.pl","pid":3007262}
[2022-09-11 23:37:30] mautic.ERROR: Doctrine\DBAL\Exception\InvalidFieldNameException: An exception occurred while executing 'SELECT t0.is_published AS is_published_1, t0.date_added AS date_added_2, t0.created_by AS created_by_3, t0.created_by_user AS created_by_user_4, t0.date_modified AS date_modified_5, t0.modified_by AS modified_by_6, t0.modified_by_user AS modified_by_user_7, t0.checked_out AS checked_out_8, t0.checked_out_by AS checked_out_by_9, t0.checked_out_by_user AS checked_out_by_user_10, t0.id AS id_11, t0.name AS name_12, t0.description AS description_13, t0.alias AS alias_14, t0.public_name AS public_name_15, t0.filters AS filters_16, t0.is_global AS is_global_17, t0.is_preference_center AS is_preference_center_18, t0.last_built_date AS last_built_date_19, t0.category_id AS category_id_20 FROM ma_lead_lists t0 INNER JOIN ma_campaign_leadlist_xref ON t0.id = ma_campaign_leadlist_xref.leadlist_id WHERE ma_campaign_leadlist_xref.campaign_id = ?' with params [33]: SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.last_built_date' in 'field list' - in file /home/srv35830/domains/wernermusic.pl/public_html/mail/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php - at line 79 [] {"hostname":"h19.seohost.pl","pid":3007262}
[2022-09-11 23:37:45] mautic.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\InvalidFieldNameException: "An exception occurred while executing 'SELECT t0.is_published AS is_published_1, t0.date_added AS date_added_2, t0.created_by AS created_by_3, t0.created_by_user AS created_by_user_4, t0.date_modified AS date_modified_5, t0.modified_by AS modified_by_6, t0.modified_by_user AS modified_by_user_7, t0.checked_out AS checked_out_8, t0.checked_out_by AS checked_out_by_9, t0.checked_out_by_user AS checked_out_by_user_10, t0.id AS id_11, t0.name AS name_12, t0.description AS description_13, t0.alias AS alias_14, t0.public_name AS public_name_15, t0.filters AS filters_16, t0.is_global AS is_global_17, t0.is_preference_center AS is_preference_center_18, t0.last_built_date AS last_built_date_19, t0.category_id AS category_id_20 FROM ma_lead_lists t0 INNER JOIN ma_email_list_xref ON t0.id = ma_email_list_xref.leadlist_id WHERE ma_email_list_xref.email_id = ?' with params [10]: SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.last_built_date' in 'field list'" at /home/srv35830/domains/wernermusic.pl/public_html/mail/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 79 {"exception":"[object] (Doctrine\\DBAL\\Exception\\InvalidFieldNameException(code: 0): An exception occurred while executing 'SELECT t0.is_published AS is_published_1, t0.date_added AS date_added_2, t0.created_by AS created_by_3, t0.created_by_user AS created_by_user_4, t0.date_modified AS date_modified_5, t0.modified_by AS modified_by_6, t0.modified_by_user AS modified_by_user_7, t0.checked_out AS checked_out_8, t0.checked_out_by AS checked_out_by_9, t0.checked_out_by_user AS checked_out_by_user_10, t0.id AS id_11, t0.name AS name_12, t0.description AS description_13, t0.alias AS alias_14, t0.public_name AS public_name_15, t0.filters AS filters_16, t0.is_global AS is_global_17, t0.is_preference_center AS is_preference_center_18, t0.last_built_date AS last_built_date_19, t0.category_id AS category_id_20 FROM ma_lead_lists t0 INNER JOIN ma_email_list_xref ON t0.id = ma_email_list_xref.leadlist_id WHERE ma_email_list_xref.email_id = ?' with params [10]:\n\nSQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.last_built_date' in 'field list' at /home/srv35830/domains/wernermusic.pl/public_html/mail/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:79, Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.last_built_date' in 'field list' at /home/srv35830/domains/wernermusic.pl/public_html/mail/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18, PDOException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.last_built_date' in 'field list' at /home/srv35830/domains/wernermusic.pl/public_html/mail/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:117)"} {"hostname":"h19.seohost.pl","pid":3007262}
[2022-09-11 23:37:46] mautic.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\InvalidFieldNameException: "An exception occurred while executing 'SELECT t0.is_published AS is_published_1, t0.date_added AS date_added_2, t0.created_by AS created_by_3, t0.created_by_user AS created_by_user_4, t0.date_modified AS date_modified_5, t0.modified_by AS modified_by_6, t0.modified_by_user AS modified_by_user_7, t0.checked_out AS checked_out_8, t0.checked_out_by AS checked_out_by_9, t0.checked_out_by_user AS checked_out_by_user_10, t0.id AS id_11, t0.name AS name_12, t0.description AS description_13, t0.alias AS alias_14, t0.public_name AS public_name_15, t0.filters AS filters_16, t0.is_global AS is_global_17, t0.is_preference_center AS is_preference_center_18, t0.last_built_date AS last_built_date_19, t0.category_id AS category_id_20 FROM ma_lead_lists t0 INNER JOIN ma_email_list_xref ON t0.id = ma_email_list_xref.leadlist_id WHERE ma_email_list_xref.email_id = ?' with params [10]: SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.last_built_date' in 'field list'" at /home/srv35830/domains/wernermusic.pl/public_html/mail/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 79 {"exception":"[object] (Doctrine\\DBAL\\Exception\\InvalidFieldNameException(code: 0): An exception occurred while executing 'SELECT t0.is_published AS is_published_1, t0.date_added AS date_added_2, t0.created_by AS created_by_3, t0.created_by_user AS created_by_user_4, t0.date_modified AS date_modified_5, t0.modified_by AS modified_by_6, t0.modified_by_user AS modified_by_user_7, t0.checked_out AS checked_out_8, t0.checked_out_by AS checked_out_by_9, t0.checked_out_by_user AS checked_out_by_user_10, t0.id AS id_11, t0.name AS name_12, t0.description AS description_13, t0.alias AS alias_14, t0.public_name AS public_name_15, t0.filters AS filters_16, t0.is_global AS is_global_17, t0.is_preference_center AS is_preference_center_18, t0.last_built_date AS last_built_date_19, t0.category_id AS category_id_20 FROM ma_lead_lists t0 INNER JOIN ma_email_list_xref ON t0.id = ma_email_list_xref.leadlist_id WHERE ma_email_list_xref.email_id = ?' with params [10]:\n\nSQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.last_built_date' in 'field list' at /home/srv35830/domains/wernermusic.pl/public_html/mail/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:79, Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.last_built_date' in 'field list' at /home/srv35830/domains/wernermusic.pl/public_html/mail/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18, PDOException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.last_built_date' in 'field list' at /home/srv35830/domains/wernermusic.pl/public_html/mail/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:117)"} {"hostname":"h19.seohost.pl","pid":3007262}
[2022-09-11 23:37:47] mautic.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\InvalidFieldNameException: "An exception occurred while executing 'SELECT t0.is_published AS is_published_1, t0.date_added AS date_added_2, t0.created_by AS created_by_3, t0.created_by_user AS created_by_user_4, t0.date_modified AS date_modified_5, t0.modified_by AS modified_by_6, t0.modified_by_user AS modified_by_user_7, t0.checked_out AS checked_out_8, t0.checked_out_by AS checked_out_by_9, t0.checked_out_by_user AS checked_out_by_user_10, t0.id AS id_11, t0.name AS name_12, t0.description AS description_13, t0.alias AS alias_14, t0.public_name AS public_name_15, t0.filters AS filters_16, t0.is_global AS is_global_17, t0.is_preference_center AS is_preference_center_18, t0.last_built_date AS last_built_date_19, t0.category_id AS category_id_20 FROM ma_lead_lists t0 INNER JOIN ma_email_list_xref ON t0.id = ma_email_list_xref.leadlist_id WHERE ma_email_list_xref.email_id = ?' with params [10]: SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.last_built_date' in 'field list'" at /home/srv35830/domains/wernermusic.pl/public_html/mail/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 79 {"exception":"[object] (Doctrine\\DBAL\\Exception\\InvalidFieldNameException(code: 0): An exception occurred while executing 'SELECT t0.is_published AS is_published_1, t0.date_added AS date_added_2, t0.created_by AS created_by_3, t0.created_by_user AS created_by_user_4, t0.date_modified AS date_modified_5, t0.modified_by AS modified_by_6, t0.modified_by_user AS modified_by_user_7, t0.checked_out AS checked_out_8, t0.checked_out_by AS checked_out_by_9, t0.checked_out_by_user AS checked_out_by_user_10, t0.id AS id_11, t0.name AS name_12, t0.description AS description_13, t0.alias AS alias_14, t0.public_name AS public_name_15, t0.filters AS filters_16, t0.is_global AS is_global_17, t0.is_preference_center AS is_preference_center_18, t0.last_built_date AS last_built_date_19, t0.category_id AS category_id_20 FROM ma_lead_lists t0 INNER JOIN ma_email_list_xref ON t0.id = ma_email_list_xref.leadlist_id WHERE ma_email_list_xref.email_id = ?' with params [10]:\n\nSQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.last_built_date' in 'field list' at /home/srv35830/domains/wernermusic.pl/public_html/mail/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:79, Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.last_built_date' in 'field list' at /home/srv35830/domains/wernermusic.pl/public_html/mail/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18, PDOException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.last_built_date' in 'field list' at /home/srv35830/domains/wernermusic.pl/public_html/mail/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:117)"} {"hostname":"h19.seohost.pl","pid":3007262}
[2022-09-11 23:38:02] mautic.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\InvalidFieldNameException: "An exception occurred while executing 'SELECT t0.is_published AS is_published_1, t0.date_added AS date_added_2, t0.created_by AS created_by_3, t0.created_by_user AS created_by_user_4, t0.date_modified AS date_modified_5, t0.modified_by AS modified_by_6, t0.modified_by_user AS modified_by_user_7, t0.checked_out AS checked_out_8, t0.checked_out_by AS checked_out_by_9, t0.checked_out_by_user AS checked_out_by_user_10, t0.id AS id_11, t0.name AS name_12, t0.description AS description_13, t0.alias AS alias_14, t0.public_name AS public_name_15, t0.filters AS filters_16, t0.is_global AS is_global_17, t0.is_preference_center AS is_preference_center_18, t0.last_built_date AS last_built_date_19, t0.category_id AS category_id_20 FROM ma_lead_lists t0 INNER JOIN ma_email_list_xref ON t0.id = ma_email_list_xref.leadlist_id WHERE ma_email_list_xref.email_id = ?' with params [13]: SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.last_built_date' in 'field list'" at /home/srv35830/domains/wernermusic.pl/public_html/mail/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 79 {"exception":"[object] (Doctrine\\DBAL\\Exception\\InvalidFieldNameException(code: 0): An exception occurred while executing 'SELECT t0.is_published AS is_published_1, t0.date_added AS date_added_2, t0.created_by AS created_by_3, t0.created_by_user AS created_by_user_4, t0.date_modified AS date_modified_5, t0.modified_by AS modified_by_6, t0.modified_by_user AS modified_by_user_7, t0.checked_out AS checked_out_8, t0.checked_out_by AS checked_out_by_9, t0.checked_out_by_user AS checked_out_by_user_10, t0.id AS id_11, t0.name AS name_12, t0.description AS description_13, t0.alias AS alias_14, t0.public_name AS public_name_15, t0.filters AS filters_16, t0.is_global AS is_global_17, t0.is_preference_center AS is_preference_center_18, t0.last_built_date AS last_built_date_19, t0.category_id AS category_id_20 FROM ma_lead_lists t0 INNER JOIN ma_email_list_xref ON t0.id = ma_email_list_xref.leadlist_id WHERE ma_email_list_xref.email_id = ?' with params [13]:\n\nSQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.last_built_date' in 'field list' at /home/srv35830/domains/wernermusic.pl/public_html/mail/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:79, Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.last_built_date' in 'field list' at /home/srv35830/domains/wernermusic.pl/public_html/mail/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18, PDOException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.last_built_date' in 'field list' at /home/srv35830/domains/wernermusic.pl/public_html/mail/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:117)"} {"hostname":"h19.seohost.pl","pid":3007262}
[2022-09-11 23:38:06] mautic.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\InvalidFieldNameException: "An exception occurred while executing 'SELECT t0.is_published AS is_published_1, t0.date_added AS date_added_2, t0.created_by AS created_by_3, t0.created_by_user AS created_by_user_4, t0.date_modified AS date_modified_5, t0.modified_by AS modified_by_6, t0.modified_by_user AS modified_by_user_7, t0.checked_out AS checked_out_8, t0.checked_out_by AS checked_out_by_9, t0.checked_out_by_user AS checked_out_by_user_10, t0.id AS id_11, t0.name AS name_12, t0.description AS description_13, t0.alias AS alias_14, t0.public_name AS public_name_15, t0.filters AS filters_16, t0.is_global AS is_global_17, t0.is_preference_center AS is_preference_center_18, t0.last_built_date AS last_built_date_19, t0.category_id AS category_id_20 FROM ma_lead_lists t0 INNER JOIN ma_email_list_xref ON t0.id = ma_email_list_xref.leadlist_id WHERE ma_email_list_xref.email_id = ?' with params [8]: SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.last_built_date' in 'field list'" at /home/srv35830/domains/wernermusic.pl/public_html/mail/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 79 {"exception":"[object] (Doctrine\\DBAL\\Exception\\InvalidFieldNameException(code: 0): An exception occurred while executing 'SELECT t0.is_published AS is_published_1, t0.date_added AS date_added_2, t0.created_by AS created_by_3, t0.created_by_user AS created_by_user_4, t0.date_modified AS date_modified_5, t0.modified_by AS modified_by_6, t0.modified_by_user AS modified_by_user_7, t0.checked_out AS checked_out_8, t0.checked_out_by AS checked_out_by_9, t0.checked_out_by_user AS checked_out_by_user_10, t0.id AS id_11, t0.name AS name_12, t0.description AS description_13, t0.alias AS alias_14, t0.public_name AS public_name_15, t0.filters AS filters_16, t0.is_global AS is_global_17, t0.is_preference_center AS is_preference_center_18, t0.last_built_date AS last_built_date_19, t0.category_id AS category_id_20 FROM ma_lead_lists t0 INNER JOIN ma_email_list_xref ON t0.id = ma_email_list_xref.leadlist_id WHERE ma_email_list_xref.email_id = ?' with params [8]:\n\nSQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.last_built_date' in 'field list' at /home/srv35830/domains/wernermusic.pl/public_html/mail/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:79, Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.last_built_date' in 'field list' at /home/srv35830/domains/wernermusic.pl/public_html/mail/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18, PDOException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.last_built_date' in 'field list' at /home/srv35830/domains/wernermusic.pl/public_html/mail/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:117)"} {"hostname":"h19.seohost.pl","pid":3044898}
[2022-09-11 23:45:40] mautic.ERROR: Doctrine\DBAL\Exception\InvalidFieldNameException: An exception occurred while executing 'SELECT m0_.id AS id_0, m0_.name AS name_1, m0_.random_id AS random_id_2, m0_.secret AS secret_3, m0_.redirect_uris AS redirect_uris_4, m0_.allowed_grant_types AS allowed_grant_types_5, m0_.role_id AS role_id_6 FROM ma_oauth2_clients m0_': SQLSTATE[42S22]: Column not found: 1054 Unknown column 'm0_.role_id' in 'field list' - in file /home/srv35830/domains/wernermusic.pl/public_html/mail/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php - at line 79 [] {"hostname":"h19.seohost.pl","pid":3098286}

```

**Your problem**  
_My problem is_ : The instalation frozen on clearing cache. Then I had 403 forbidden when I’ve tried to log into Mautic. I’ve changed the .htacces file and put a comments on this line of code:

```auto
#<FilesMatch "\.php$">
     # Require all denied
    #</FilesMatch>

```

Then I was able to log in. Then I’ve discovered two problems for now:

1. I can’t edit any email that I have created before update. I can create new ones.
2. On the page with API Credentials I see this sentence:

## The site is currently offline due to encountering an error. If the problem persists, please contact the system administrator.

#### System administrators, check server logs for errors.

_Steps I have tried to fix the problem_ :

1. Changed .htacces file
2. Cleared cache (deleted all folder inside “var/cache”)

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [September 12, 2022, 6:46pm UTC](https://forum.mautic.org/t/problems-after-updating-mautic/25355/2 "2022-09-12T18:46:26Z")

</div>

If you have backup, please restore to a working instance from it and try upgrading via CLI.

Here is a link to show you how to do it: \< [Update Mautic 3+ to Mautic 4.0.1 (via SSH) – Joey Keller](https://joeykeller.com/update-mautic-3-to-mautic-4-via-ssh/) \>

---

<div class="post-metadata">

**Author:** ![robomanus](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/robomanus/32/510_2.png) [@robomanus](https://forum.mautic.org/u/robomanus)\
**Post date:** [September 12, 2022, 7:39pm UTC](https://forum.mautic.org/t/problems-after-updating-mautic/25355/3 "2022-09-12T19:39:37Z")

</div>

I don’t have a backup ☹

---

<div class="post-metadata">

**Author:** ![gnumax](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gnumax/32/7061_2.png) [@gnumax](https://forum.mautic.org/u/gnumax)\
**Post date:** [September 12, 2022, 8:03pm UTC](https://forum.mautic.org/t/problems-after-updating-mautic/25355/4 "2022-09-12T20:03:20Z")

</div>

Hi @robomanus

Have you asked your hosting provider if they do daily backups? 🤔

If they do, you can use the one before the problem with your Mautic to restore the installation.

Regards!

---

<div class="post-metadata">

**Author:** ![robomanus](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/robomanus/32/510_2.png) [@robomanus](https://forum.mautic.org/u/robomanus)\
**Post date:** [September 12, 2022, 8:15pm UTC](https://forum.mautic.org/t/problems-after-updating-mautic/25355/5 "2022-09-12T20:15:48Z")

</div>

Yeah, I figured it out after sending message 😅😅😅 I’ve already wrote to my hosting provider. Waiting for answer. I will get back to you if I have more questions.

Thanks for help!

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [September 12, 2022, 8:24pm UTC](https://forum.mautic.org/t/problems-after-updating-mautic/25355/6 "2022-09-12T20:24:08Z")

</div>

And for the future. Please always make full backup of source and database before attempting to update!

---

<div class="post-metadata">

**Author:** ![robomanus](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/robomanus/32/510_2.png) [@robomanus](https://forum.mautic.org/u/robomanus)\
**Post date:** [October 3, 2022, 8:03am UTC](https://forum.mautic.org/t/problems-after-updating-mautic/25355/8 "2022-10-03T08:03:07Z")

</div>

Hey,

I’ve made a backup succesfully and now everything in Mautic is working fine. But the cron jobs are wasted. When updateting campaings I get this message from cron job:

```auto
PHP Fatal error: Declaration of Doctrine\DBAL\Driver\PDOConnection::query() must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs): PDOStatement|false in /home/srv35830/domains/wernermusic.pl/public_html/mail/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 70

In PDOConnection.php line 70:

  Compile Error: Declaration of Doctrine\DBAL\Driver\PDOConnection::query() m 
  ust be compatible with PDO::query(string $query, ?int $fetchMode = null, mi 
  xed ...$fetchModeArgs): PDOStatement|false                                   

mautic:campaigns:rebuild [-l|--batch-limit [BATCH-LIMIT]] [-m|--max-contacts [MAX-CONTACTS]] [-i|--campaign-id [CAMPAIGN-ID]] [--contact-id [CONTACT-ID]] [--contact-ids [CONTACT-IDS]] [--min-contact-id [MIN-CONTACT-ID]] [--max-contact-id [MAX-CONTACT-ID]] [--thread-id [THREAD-ID]] [--max-threads [MAX-THREADS]] [-f|--force] [--bypass-locking] [-t|--timeout TIMEOUT] [-x|--lock_mode LOCK_MODE] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command>

```

Also whe running segments:update I get:

```auto
PHP Fatal error: Declaration of Doctrine\DBAL\Driver\PDOConnection::query() must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs): PDOStatement|false in /home/srv35830/domains/wernermusic.pl/public_html/mail/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 70

In PDOConnection.php line 70:

  Compile Error: Declaration of Doctrine\DBAL\Driver\PDOConnection::query() m 
  ust be compatible with PDO::query(string $query, ?int $fetchMode = null, mi 
  xed ...$fetchModeArgs): PDOStatement|false                                   

mautic:segments:update [-b|--batch-limit [BATCH-LIMIT]] [-m|--max-contacts [MAX-CONTACTS]] [-i|--list-id [LIST-ID]] [-tm|--timing [TIMING]] [-f|--force] [--bypass-locking] [-t|--timeout TIMEOUT] [-x|--lock_mode LOCK_MODE] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command>

```

Please help mi fix this…

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [October 18, 2022, 8:10pm UTC](https://forum.mautic.org/t/problems-after-updating-mautic/25355/9 "2022-10-18T20:10:14Z")

</div>

Create full backup of source code and try reinstalling php dependencies and report back if you still have issues.
