Forminator not working with PHP 8.2
-
I have a forminator plugin on my wordpress site that works fine with php 7.4 however with upgrade of php to 8.2 it throws this error: “An error occurred while processing the form. Please try again
(undefined)”
(debug.log not showing anything related to it)Last few lines attached here: https://pastebin.com/YChc4NMM
Can’t mention site under NDA.
-
Hi @pixelatedj,
In general, the plugin should have worked fine with PHP version 8.2. I’m afraid the debug log file shared doesn’t help much in ruling out what might have caused it.
Possible to provide us with the form export, so that we could give a closer look?
Please check the following doc on how to export a form:
https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-export
If you are concerned about any sensitive information in the form, then you can duplicate your form, remove any sensitive information, and then export it.
You can share the export file via Google Drive, Pastebin, Dropbox, or any cloud service in the next reply.
Looking forward to your response.
Best Regards,
Nithin
Hi @pixelatedj,
I am afraid the provided form expert appears to be corrupted, as it failed to import on a test website at my end.
Please check the screenshot here: https://ibb.co/27PZYp7f
Further checking, I observed the following PHP notice at the top of the form export, and after carefully analyzing the export, it appears incomplete.
<br /> <b>Notice</b>: ob_clean(): failed to delete buffer. No buffer to delete in <b>/data/sites/web/b33luxthmyrdbxio/www/wp-content/plugins/forminator/admin/abstracts/class-admin-module-edit-page.php</b> on line <b>877</b><br />Can you please disable the WP debug log and try exporting the form again so that we can give it another try?
It seems you are using an outdated version of Forminator. Can you please update the plugin to the latest version and check if you still observe the issue?
Looking forward to hearing back from you and helping you resolve the issue.
Best Regards,
Nebu JohnForminator version on our site is 1.47.0 (i see same on the wordpress download page of plugin)
WP Debug is disabled in the hosting and in the files. Not sure why still thats happening.
What I have done now is before export it was showing me the code I have copy pasted it in txt and sent to drive
File name: formss forminator.txt
-
This reply was modified 8 months, 2 weeks ago by
pixelatedj.
Hi @pixelatedj,
I am afraid the URL to the file is missing in your last response.
Can you please share the Google Drive URL to the export file so that we can take a closer look at this?
Best Regards,
Nebu JohnSame google drive folder that was shared before above.
https://drive.google.com/drive/folders/1-mVk2bBXyilufOhpoLCHewt4NQbhE1Ko?usp=sharing
Hello @pixelatedj,
Thank you for sharing the file. I’ve tested the forms on a lab site with PHP versions 8.2 and 8.3, but could not replicate the error.
I see there are errors pointing to the theme in your log file:
PHP Warning: Cannot modify header information - headers already sentThis could be related as well. In order for our techs to try replicating the error, would you mind sharing theme files via email?
You can send the theme folder compressed in a ZIP archive at [email protected] using the following subject:
ATTN: WPMU DEV support - wp.orgPlease include:
– an attached ZIP archive with the theme folder, or a download link to it (e.g. from a Google Drive, etc.) – Link back to this thread for reference: https://ww.wp.xz.cn/support/topic/forminator-not-working-with-php-8-2/Looking forward to hear from you!
Best Regards,
DmytroLemme confirm and get back to you on this.
Also our wordpress is still 6.4.5. Is that something that can cause an issue like this?
Hi @pixelatedj,
We recommend updating WordPress to the latest version. Older versions may still rely on deprecated PHP functions, which can lead to compatibility issues with plugins. Running an outdated version of WordPress also increases the risk of security, exposing your website to known threats.
Keeping WordPress updated with the latest versions ensures better security and overall site performance.
Can you please update WordPress to the latest version and check if that helps to resolve the issue? Please update us here with the results so that we can help you further.
Best Regards,
Nebu JohnOn it
All solved. There was another plugin conflicting with this. After updates and making some adjustments this works fine for now as far as I checked. Will still confirm from team as they are checking more stuff.
Hi @pixelatedj,
Glad to hear its sorted. Since we haven’t heard from you for a while. I’ll mark this thread as resolved for now. Please feel free to re-open this thread if you need any further assistance.
Regards,
Nithin
-
This reply was modified 8 months, 2 weeks ago by
The topic ‘Forminator not working with PHP 8.2’ is closed to new replies.