-
I wanted to edit a form since it didn't behave the way I wanted it to but it wouldn't open the edit page. When I edited the url to get there, mautic threw a 500 Internal Server Error at me.
The logs are actually giving out a 304 Error:
"GET /s/forms/view/5 HTTP/1.1" 200 179670 "-" "GET /index.php/s/login HTTP/1.1" 301 320 "-" "Mozilla (CloudronHealth)" "GET /plugins/MauticCustomSmsBundle/Assets/js/customsms.js?vc794449c HTTP/1.1" 200 296 "https://domain.com/s/forms/view/5" "GET /media/js/libraries.js?vc794449c HTTP/1.1" 304 - "https://domain.com/s/forms/view/5" "GET /media/js/app.js?vc794449c HTTP/1.1" 304 - "https://domain.com/s/forms/view/5" "GET /app/bundles/CoreBundle/Assets/js/libraries/froala/froala_editor.js?vc794449c HTTP/1.1" 304 - "https://domain.com/s/forms/view/5" "GET /app/bundles/CoreBundle/Assets/js/libraries/froala/plugins/align.js?vc794449c HTTP/1.1" 304 - "https://domain.com/s/forms/view/5" "GET /app/bundles/CoreBundle/Assets/js/libraries/froala/plugins/code_beautifier.js?vc794449c HTTP/1.1" 304 - "https://domain.com/s/forms/view/5" "GET /app/bundles/CoreBundle/Assets/js/libraries/froala/plugins/code_view.js?vc794449c HTTP/1.1" 304 - "https://domain.com/s/forms/view/5" "GET /app/bundles/CoreBundle/Assets/js/libraries/froala/plugins/colors.js?vc794449c HTTP/1.1" 304 - "https://domain.com/s/forms/view/5" "GET /app/bundles/CoreBundle/Assets/js/libraries/froala/plugins/font_family.js?vc794449c HTTP/1.1" 304 - "https://domain.com/s/forms/view/5" "GET /app/bundles/CoreBundle/Assets/js/libraries/froala/plugins/font_size.js?vc794449c HTTP/1.1" 304 - "https://domain.com/s/forms/view/5" "GET /app/bundles/CoreBundle/Assets/js/libraries/froala/plugins/fullscreen.js?vc794449c HTTP/1.1" 304 - "https://domain.com/s/forms/view/5" "GET /app/bundles/CoreBundle/Assets/js/libraries/froala/plugins/image.js?vc794449c HTTP/1.1" 304 - "https://domain.com/s/forms/view/5" "GET /app/bundles/CoreBundle/Assets/js/libraries/froala/plugins/filemanager.js?vc794449c HTTP/1.1" 304 - "https://domain.com/s/forms/view/5" "GET /app/bundles/CoreBundle/Assets/js/libraries/froala/plugins/inline_style.js?vc794449c HTTP/1.1" 304 - "https://domain.com/s/forms/view/5" "GET /app/bundles/CoreBundle/Assets/js/libraries/froala/plugins/line_breaker.js?vc794449c HTTP/1.1" 304 - "https://domain.com/s/forms/view/5" "GET /app/bundles/CoreBundle/Assets/js/libraries/froala/plugins/link.js?vc794449c HTTP/1.1" 304 - "https://domain.com/s/forms/view/5" "GET /app/bundles/CoreBundle/Assets/js/libraries/froala/plugins/lists.js?vc794449c HTTP/1.1" 304 - "https://domain.com/s/forms/view/5" "GET /app/bundles/CoreBundle/Assets/js/libraries/froala/plugins/paragraph_format.js?vc794449c HTTP/1.1" 304 - "https://domain.com/s/forms/view/5" "GET /app/bundles/CoreBundle/Assets/js/libraries/froala/plugins/quick_insert.js?vc794449c HTTP/1.1" 304 - "https://domain.com/s/forms/view/5" "GET /app/bundles/CoreBundle/Assets/js/libraries/froala/plugins/paragraph_style.js?vc794449c HTTP/1.1" 304 - "https://domain.com/s/forms/view/5" "GET /app/bundles/CoreBundle/Assets/js/libraries/froala/plugins/quote.js?vc794449c HTTP/1.1" 304 - "https://domain.com/s/forms/view/5" "GET /app/bundles/CoreBundle/Assets/js/libraries/froala/plugins/table.js?vc794449c HTTP/1.1" 304 - "https://domain.com/s/forms/view/5" "GET /app/bundles/CoreBundle/Assets/js/libraries/froala/plugins/url.js?vc794449c HTTP/1.1" 304 - "https://domain.com/s/forms/view/5" "GET /app/bundles/CoreBundle/Assets/js/libraries/froala/plugins/token.js?vc794449c HTTP/1.1" 304 - "https://domain.com/s/forms/view/5" "GET /app/bundles/CoreBundle/Assets/js/libraries/froala/plugins/gatedvideo.js?vc794449c HTTP/1.1" 304 - "https://domain.com/s/forms/view/5" "GET /app/bundles/CoreBundle/Assets/js/libraries/froala/plugins/dynamic_content.js?vc794449c HTTP/1.1" 304 - "https://domain.com/s/forms/view/5" "GET /app/bundles/CoreBundle/Assets/js/libraries/ckeditor/ckeditor.js?vc794449c HTTP/1.1" 304 - "https://domain.com/s/forms/view/5" "GET /app/bundles/CoreBundle/Assets/js/libraries/ckeditor/adapters/jquery.js?vc794449c HTTP/1.1" 304 - "https://domain.com/s/forms/view/5" "GET /media/images/favicon.ico?vc794449c HTTP/1.1" 404 65829 "https://domain.com/s/forms/view/5" "GET /media/images/favicon.ico?vc794449c HTTP/1.1" 404 65829 "https://domain.com/s/forms/view/5" "GET /s/forms/edit/5?_=1644690360171&mauticUserLastActive=2&mauticLastNotificationId= HTTP/1.1" 500 195 "https://domain.com/s/forms/view/5"
So I went to look why it can't access those files but they actually don't exist whatsoever.
- /app/bundles and
- /media/js are not existant
- and the /media/images is empty
I also can't duplicate existing forms or create new ones either.
Any idea what's wrong here? -
-
@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 !