-
@andreasdueren Sorry, I didn't understand the context. As I understand it, the "design" of a form is based on templates (see screenshot taken from
New Standalone Form
/ same forNew Campaign Form
)
If you don't like the design, build your own theme and upload it via the Cloudron file manager (https://docs.mautic.org/en/themes).
The 500 error may have something to do with the error described here -> https://forum.cloudron.io/topic/6270/installing-mautic-4-x/7?_=1644758122831 -
@luckow No i didn't mean the theme or design but the actual items within my forms.
Thanks for the link, it seems to be a different issue. However it's generating different error messages there:[2022-02-14 13:40:25] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 13:40:25] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 13:40:25] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 13:40:25] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 13:40:25] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 13:40:25] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 13:41:52] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 13:41:52] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 13:41:52] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 13:41:52] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 13:41:52] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 13:41:52] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 13:41:52] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 13:41:52] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 13:41:52] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 13:41:52] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 13:41:52] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 13:41:52] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 13:41:52] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 14:45:03] mautic.NOTICE: TypeError: Argument 2 passed to JMS\Serializer\Handler\DateHandler::serializeDateTime() must be an instance of DateTime, string given, called in /app/code/vendor/jms/serializer/src/GraphNavigator/SerializationGraphNavigator.php on line 206 (uncaught exception) at /app/code/vendor/jms/serializer/src/Handler/DateHandler.php line 98 while running console command `mautic:social:monitoring` [] [] [2022-02-14 14:45:03] mautic.WARNING: Command `mautic:social:monitoring` exited with status code 1 [] [] [2022-02-14 15:00:02] mautic.NOTICE: TypeError: Argument 2 passed to JMS\Serializer\Handler\DateHandler::serializeDateTime() must be an instance of DateTime, string given, called in /app/code/vendor/jms/serializer/src/GraphNavigator/SerializationGraphNavigator.php on line 206 (uncaught exception) at /app/code/vendor/jms/serializer/src/Handler/DateHandler.php line 98 while running console command `mautic:social:monitoring` [] [] [2022-02-14 15:00:02] mautic.WARNING: Command `mautic:social:monitoring` exited with status code 1 [] [] [2022-02-14 15:15:03] mautic.NOTICE: TypeError: Argument 2 passed to JMS\Serializer\Handler\DateHandler::serializeDateTime() must be an instance of DateTime, string given, called in /app/code/vendor/jms/serializer/src/GraphNavigator/SerializationGraphNavigator.php on line 206 (uncaught exception) at /app/code/vendor/jms/serializer/src/Handler/DateHandler.php line 98 while running console command `mautic:social:monitoring` [] [] [2022-02-14 15:15:03] mautic.WARNING: Command `mautic:social:monitoring` exited with status code 1 [] [] [2022-02-14 14:29:05] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 14:29:05] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 14:29:05] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 14:29:05] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 14:29:05] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 14:29:05] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 14:29:05] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 14:29:05] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 14:29:05] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 14:29:05] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 14:29:05] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 14:29:05] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 14:29:05] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type bool - in file /app/data/plugins/MauticFocusBundle/Include/lessc.inc.php - at line 719 {"args":[],"orderedValues":[],"keywordValues":[],"assignedValues":[],"i":0,"last":false} [] [2022-02-14 15:30:03] mautic.NOTICE: TypeError: Argument 2 passed to JMS\Serializer\Handler\DateHandler::serializeDateTime() must be an instance of DateTime, string given, called in /app/code/vendor/jms/serializer/src/GraphNavigator/SerializationGraphNavigator.php on line 206 (uncaught exception) at /app/code/vendor/jms/serializer/src/Handler/DateHandler.php line 98 while running console command `mautic:social:monitoring` [] [] [2022-02-14 15:30:03] mautic.WARNING: Command `mautic:social:monitoring` exited with status code 1 [] []
-
This looks like the same error as https://forum.mautic.org/t/log-flooded-with-mautic-notice-php-notice-trying-to-access-array-offset-on-value-of-type-bool-redlining-server/19320 . @andreasdueren Can you try disabling the Focus bundle plugin or is this enabled by default ?
-
@andreasdueren Is this a fresh instance or an instance upgraded from Mautic 3.x ?
I tried to create 2 forms now - standalone and campaign. And I can add fields, preview them, edit them again. Does this happen only with existing forms or also new forms? I guess I don't really know how to reproduce this. Do you think you can try this on the demo instance - https://my.demo.cloudron.io (username/password: cloudron) ?
-
-
@andreasdueren I fixed my Mautics instances by checking out the log provided inside the Mautic app, there I found a lot of errors related to theme's I had added manually when Mautic moved from the old email builder to GrapeJS, once the old themes removed, everything went back to normal !