hcaphedreed
Forum Replies Created
-
Forum: Plugins
In reply to: [AIO Forms - Craft Complex Forms Easily] Is there an update for WordPress 6.2I’ve noticed there’ve been several updates over the past few days, but it doesn’t appear that any of them have addressed this issue. Is there anything I can do it assist?
Forum: Plugins
In reply to: [AIO Forms - Craft Complex Forms Easily] Is there an update for WordPress 6.2I found a couple things that I was able to fix myself,
in the file, vendor\tijsverkoyen\css-to-inline-styles\src\CssToInlineStyles.php. change line 116 from
$document->loadHTML(mb_convert_encoding($html, ‘HTML-ENTITIES’, ‘UTF-8’));
to
$document->loadHTML(htmlspecialchars_decode(iconv(‘UTF-8’, ‘ISO-8859-1’, htmlentities($html, ENT_COMPAT, ‘UTF-8’)), ENT_QUOTES));in the file, core\Managers\EntrySaver\AIOEntry.php, add a $CreationDate property.
Those changes get rid of two of the errors but I don’t entirely understand your code enough to solve the undefined property and null value errors. It seems to me that the GetLineItems function in FBMultipleOptionsField.php script shouldn’t be called at all since these fields are not being used for totals but I don’t know.
Forum: Plugins
In reply to: [AIO Forms - Craft Complex Forms Easily] Is there an update for WordPress 6.2I was using v1.2.89, i just installed v1.2.90. and now the errors are fewer but i still get the following
[21-Apr-2023 16:56:42 UTC] PHP Deprecated: Creation of dynamic property rednaoeasycalculationforms\core\Managers\EntrySaver\AIOEntry::$CreationDate is deprecated in C:\inetpub\wwwroot\wordpress\wp-content\plugins\all-in-one-forms\core\Managers\EntrySaver\FormEntrySaver.php on line 175
[21-Apr-2023 16:56:42 UTC] PHP Warning: Undefined property: stdClass::$total in C:\inetpub\wwwroot\wordpress\wp-content\plugins\all-in-one-forms\core\Managers\FormManager\Fields\FBMultipleOptionsField.php on line 106
[21-Apr-2023 16:56:42 UTC] PHP Warning: Attempt to read property “Price” on null in C:\inetpub\wwwroot\wordpress\wp-content\plugins\all-in-one-forms\core\Managers\FormManager\Fields\FBMultipleOptionsField.php on line 106
[21-Apr-2023 16:56:42 UTC] PHP Warning: Undefined property: stdClass::$total in C:\inetpub\wwwroot\wordpress\wp-content\plugins\all-in-one-forms\core\Managers\FormManager\Fields\FBMultipleOptionsField.php on line 106
[21-Apr-2023 16:56:42 UTC] PHP Warning: Attempt to read property “Price” on null in C:\inetpub\wwwroot\wordpress\wp-content\plugins\all-in-one-forms\core\Managers\FormManager\Fields\FBMultipleOptionsField.php on line 106
[21-Apr-2023 16:56:42 UTC] PHP Warning: Undefined property: stdClass::$total in C:\inetpub\wwwroot\wordpress\wp-content\plugins\all-in-one-forms\core\Managers\FormManager\Fields\FBMultipleOptionsField.php on line 106
[21-Apr-2023 16:56:42 UTC] PHP Warning: Attempt to read property “Price” on null in C:\inetpub\wwwroot\wordpress\wp-content\plugins\all-in-one-forms\core\Managers\FormManager\Fields\FBMultipleOptionsField.php on line 106
[21-Apr-2023 16:56:42 UTC] PHP Deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in C:\inetpub\wwwroot\wordpress\wp-content\plugins\all-in-one-forms\vendor\tijsverkoyen\css-to-inline-styles\src\CssToInlineStyles.php on line 116If i turn off debugging for WordPress, the form displays an error when clicking the submit button. The returned error says Bad Response from the Server. When i enable debug mode for WordPress, then the form will submit successfully.
see this image, https://drive.google.com/file/d/1q_d_9qKLx7StPSq65_LrViPl-GHKROqi/view?usp=share_link
I’m using WordPress 6.2 with PHP 8.2.5, on a Windows 10 machine running IIS 10.
the export of my form is here, https://drive.google.com/file/d/1CoktPafnkvWpi639pDIFpD0_E5LxCcf2/view?usp=share_link