Sterc / FormIt

A dynamic form processing Snippet for MODX Revolution
https://docs.modx.com/current/en/extras/formit
33 stars 58 forks source link

MODX 3.0.1 FormItSaveForm Errors #274

Closed toro-terminator closed 9 months ago

toro-terminator commented 2 years ago

Bug report

Summary

[2022-08-16 15:39:20] (ERROR @ /www/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 666) Could not load class: FormItForm from mysql.formitform [2022-08-16 15:41:46] (ERROR @ /www/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 666) Could not load class: FormItForm from mysql.formitform [2022-08-16 15:46:21] (ERROR @ /www/core/src/Revolution/modX.php : 1784) Unable to load processor for action "Sterc\FormIt\Processors\Mgr\Forms\GetList", it does not exist as an autoloadable class that extends \MODX\Revolution\Processors\Processor, and also not as a file in "/www/core/components/formit/processors/Sterc\FormIt\Processors\Mgr\Forms\GetList.class.php" [2022-08-16 15:46:21] (ERROR @ /www/core/src/Revolution/modX.php : 1784) Unable to load processor for action "Sterc\FormIt\Processors\Mgr\Encryption\GetList", it does not exist as an autoloadable class that extends \MODX\Revolution\Processors\Processor, and also not as a file in "/www/core/components/formit/processors/Sterc\FormIt\Processors\Mgr\Encryption\GetList.class.php" [2022-08-16 15:51:28] (ERROR @ /www/core/src/Revolution/modX.php : 1784) Unable to load processor for action "Sterc\FormIt\Processors\Mgr\Encryption\GetList", it does not exist as an autoloadable class that extends \MODX\Revolution\Processors\Processor, and also not as a file in "/www/core/components/formit/processors/Sterc\FormIt\Processors\Mgr\Encryption\GetList.class.php" [2022-08-16 15:51:28] (ERROR @ /www/core/src/Revolution/modX.php : 1784) Unable to load processor for action "Sterc\FormIt\Processors\Mgr\Forms\GetList", it does not exist as an autoloadable class that extends \MODX\Revolution\Processors\Processor, and also not as a file in "/www/core/components/formit/processors/Sterc\FormIt\Processors\Mgr\Forms\GetList.class.php" [2022-08-16 16:56:58] (ERROR @ /www/core/src/Revolution/modX.php : 1784) Unable to load processor for action "Sterc\FormIt\Processors\Mgr\Encryption\GetList", it does not exist as an autoloadable class that extends \MODX\Revolution\Processors\Processor, and also not as a file in "/www/core/components/formit/processors/Sterc\FormIt\Processors\Mgr\Encryption\GetList.class.php" [2022-08-16 16:56:58] (ERROR @ /www/core/src/Revolution/modX.php : 1784) Unable to load processor for action "Sterc\FormIt\Processors\Mgr\Forms\GetList", it does not exist as an autoloadable class that extends \MODX\Revolution\Processors\Processor, and also not as a file in "/www/core/components/formit/processors/Sterc\FormIt\Processors\Mgr\Forms\GetList.class.php"

Step to reproduce

just run FormIt with the hook.

&hooks=`FormItSaveForm,email`
&formName=`Quote Form`
&formFields=`fname,lname,phone,email`

Observed behavior

Save to DB but not visible in manager page

Expected behavior

Should be able to view in grid.

Environment

MODX Cloud. 3.0.1-pl

eydolan commented 2 years ago

same issue here with me in php 8.1.4 modx 3.0.1

not saving

i get nothing in the error log

&hooks=FormItSaveForm &formName=Agent Form

joeke commented 2 years ago

Should be fixed in upcoming 5.0.1 version.

janwidmer commented 1 year ago

I have the same problem when using the FormItLoadSavedForm: https://github.com/Sterc/FormIt/issues/285