PHP 8.0 / 8.1 Compatibility?
-
Hello, was there a recent update? My website random crashed and it is saying that it is due to this app not being compatible with my PHP version (8.0). Can you please confirm / ensure this works? I am getting a critical error due to it.
-
Yes, sorry, please update to 1.0.6
Hello, I was wondering if there were any problem using 8.0. I am using lastest version and when submitting a form, it shows spinning circle and no form is sent.
If I deactivate it, it works. I I activate again, it works at PHP 7.4 but it doesn’t at 8.0 & 8.1
web page is: https://heuristic-darwin.82-223-107-251.plesk.page in testing mode (under maintenance). Please contact me for further details.
Regards!.
I have installed also conditional fields plugin. But only fails with Multilingual Contact Form 7 with polylang module activated.
Hi, can you check the php error log?
If not, please provide more info.
The website you posted does not show anything useful for me.
Feel free to contact me via email. Find it via my profile and website.
Thank you!
Ok I put a clonned site in https://flamboyant-margulis.82-223-107-251.plesk.page/ may I send you credentials if you want to see under the hook.
there are problems in most of all forms, if you try to send a form here: https://flamboyant-margulis.82-223-107-251.plesk.page/area-pacient/tramits-online/modificacio-de-dades/
there you can see the spinning circle and nothing is sent.
The error in php log is
2023-05-05 15:55:38Error94.73.35.136AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given in /var/www/vhosts/flamboyant-margulis.82-223-107-251.plesk.page/httpdocs/wp-content/plugins/multilingual-contact-form-7-with-polylang/frontend/Submission.php:54\nStack trace:\n#0 /var/www/vhosts/flamboyant-margulis.82-223-107-251.plesk.page/httpdocs/wp-content/plugins/multilingual-contact-form-7-with-polylang/frontend/Submission.php(54): count()\n#1 /var/www/vhosts/flamboyant-margulis.82-223-107-251.plesk.page/httpdocs/wp-includes/class-wp-hook.php(308): mlcf7pll\\frontend\\Submission->fix_pipes_values_in_posted_data()\n#2 /var/www/vhosts/flamboyant-margulis.82-223-107-251.plesk.page/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters()\n#3 /var/www/vhosts/flamboyant-margulis.82-223-107-251.plesk.page/httpdocs/wp-content/plugins/contact-form-7/includes/submission.php(458): apply_filters()\n#4 /var/www/vhosts/flamboyant-margulis.82-223-107-251.plesk.page/httpdocs/wp-content/plugi…’, referer: https://flamboyant-margulis.82-223-107-251.plesk.page/area-pacient/tramits-online/modificacio-de-dades/Error de ApacheHi, thanks for that.
It´s not allowed here in the forums to ask for credentials, but yes, you can email me regarding that.
The error message also helps.
You may also send the definition of your form, where your fields are defined. It seems there is either an error in your definition or my plugin is not able to process them correctly.
Maybe you have double curly braces or you opened and did not close them correctly? Just an assumption.
hello, thank you for your quick answer, well, it’s working smoothly in PHP 7.4 but when you change to PHP 8.0 it hangs with spinning circle when doing submit.
We are using conditional fields too, but I repeat, it still working in PHP 7.4, It should be other thing that causes this error, I guess…
Hi @jlgonzalezdiaz ,
I uploaded a new version, please check if it works now.
Thanks
- This reply was modified 1 year, 5 months ago by Andreas Münch.
Hello Andreas, now, after updating, testing with the same form “Altres tramits” it does not send. There is an error and stop sending. No errors in PHP.
I am so sorry.
IT WORKS! It was a problem in mail server.
THANK YOU!
Very good! 🙂
Hello again Andreas!,
When using pipes for sending, like this code:
{Amb qui vol contactar?} [select* your-recipient include_blank “{Docència}|mir.xx.xxx@xxxxx.cat” “{Gabinet de Comunicació}|xxxxx@xxxx.cat” “{Recursos Humans}|desenvolupament.xxx.xxx@xxx.cat”](mails are hidden) the system throws an error and mail can not be sent, but, I can see all the data in database with CRM Perks https://www.crmperks.com/.
If I eliminate brakets {} all works again. This behaviour happens only with the new patch from friday.
Thank you!Hi, do you have an error message in the error log?
- This reply was modified 1 year, 5 months ago by Andreas Münch.
Hello,
sorry, I forgot attach log registers. I was digging log but there are no apache / nginx errors apparently. Only this when submitting:
2023-05-08 21:04:13Access94.73.48.163200GET /wp-json/contact-form-7/v1/contact-forms/5118/feedback/schema HTTP/1.01.25 KAcceso SSL/TLS a ApacheNO errors nor warnings at log: https://snipboard.io/fTHRvq.jpg
Regards.
- This reply was modified 1 year, 5 months ago by jlgonzalezdiaz.
- The topic ‘PHP 8.0 / 8.1 Compatibility?’ is closed to new replies.