Your software
My Mautic version is: v4.2.2
My PHP version is: 8.0.30
My Database type and version is: 10.4.20-MariaDB-1:10.4.20+maria~buster-log
Your problem
My problem is: Forms suddenly stopped displaying.
These errors are showing in the log:
[2023-11-14 02:13:30] mautic.WARNING: PHP Warning - Trying to access array offset on value of type bool - in file /home/public_html/app/bundles/PageBundle/Entity/HitRepository.php - at line 276
[2023-11-14 02:47:57] mautic.NOTICE: PHP Notice - SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) - in file /home//public_html/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php - at line 106
[2023-11-14 03:10:42] mautic.NOTICE: PHP Notice - SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) - in file /home//public_html/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php - at line 106
[2023-11-14 03:14:36] mautic.NOTICE: PHP Notice - SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) - in file /home//public_html/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php - at line 106
[2023-11-14 03:54:44] mautic.NOTICE: PHP Notice - SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) - in file /home//public_html/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php - at line 106
[2023-11-14 05:28:36] mautic.NOTICE: PHP Notice - SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) - in file /home//public_html/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php - at line 106
[2023-11-14 05:49:36] mautic.NOTICE: PHP Notice - SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) - in file /home//public_html/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php - at line 106
[2023-11-14 11:33:13] mautic.WARNING: PHP Warning - Trying to access array offset on value of type bool - in file /home//public_html/app/bundles/PageBundle/Entity/HitRepository.php - at line 276
[2023-11-14 08:38:18] mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError: “Call to a member function createQueryBuilder() on null” at /home//public_html/app/bundles/EmailBundle/Stats/Helper/FilterTrait.php line 31 {“exception”:“[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Call to a member function createQueryBuilder() on null at /home//public_html/app/bundles/EmailBundle/Stats/Helper/FilterTrait.php:31)”}
[2023-11-14 13:51:16] mautic.NOTICE: PHP Notice - SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) - in file /home//public_html/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php - at line 106
Steps I have tried to fix the problem:
I came to the community and found this post → /form/generate.js?id=1 not show form - #9 by zaharovrd
But still havent been able to find the fix
The problem is in
It shows nothing.