PHP 8.1 issue
- Gary Copping
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 66
- Thank you received: 0
1 year 11 months ago #1
by Gary Copping
PHP 8.1 issue was created by Gary Copping
Call to undefined function escapeshellarg()
Hi,
I have a site which has moved to PHP 8.1 and is giving the error message above on the Contact Form & the form is not processed. Can you please investigate.
Thanks & regards,
Gary
Hi,
I have a site which has moved to PHP 8.1 and is giving the error message above on the Contact Form & the form is not processed. Can you please investigate.
Thanks & regards,
Gary
Please Log in or Create an account to join the conversation.
- Christopher Mavros
- Offline
- Administrator
1 year 11 months ago #2
by Christopher Mavros
Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!
Replied by Christopher Mavros on topic PHP 8.1 issue
Hello Gary and thank you for posting!
Rapid Contact Ex does not use escapeshellarg(), but PHPMailer (the underlying PHP library that Joomla uses to send emails) does.
Which Joomla version do you use? Is the core intact or is it edited in any way?
Let me know!
Rapid Contact Ex does not use escapeshellarg(), but PHPMailer (the underlying PHP library that Joomla uses to send emails) does.
Which Joomla version do you use? Is the core intact or is it edited in any way?
Let me know!
Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!
Please Log in or Create an account to join the conversation.
- Gary Copping
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 66
- Thank you received: 0
1 year 11 months ago #3
by Gary Copping
Replied by Gary Copping on topic PHP 8.1 issue
Hi Christopher,
It is Joomla 3.10.11 and I think this has only happened since I moved the site to PHP8.1
Does this help?
Regards,
Gary
It is Joomla 3.10.11 and I think this has only happened since I moved the site to PHP8.1
Does this help?
Regards,
Gary
Please Log in or Create an account to join the conversation.
- Christopher Mavros
- Offline
- Administrator
1 year 11 months ago #4
by Christopher Mavros
Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!
Replied by Christopher Mavros on topic PHP 8.1 issue
According to
this forum post
on Joomla.org, Joomla 3.10.11 is incompatible with PHP 8.1.
I have had similar problems with some of my clients' sites, so we have stuck to PHP 8.0 or 7.4 until we can migrate to J4.
(we can't do that yet because of some incompatible third-party extensions)
I'm not sure I can do anything to help with this.
If you'd like, we can try to debug it together, but migrating to Joomla 4 is probably the best way to go if you have no incompatible extensions.
I have had similar problems with some of my clients' sites, so we have stuck to PHP 8.0 or 7.4 until we can migrate to J4.
(we can't do that yet because of some incompatible third-party extensions)
I'm not sure I can do anything to help with this.
If you'd like, we can try to debug it together, but migrating to Joomla 4 is probably the best way to go if you have no incompatible extensions.
Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!
Please Log in or Create an account to join the conversation.
- Gary Copping
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 66
- Thank you received: 0
1 year 11 months ago #5
by Gary Copping
Replied by Gary Copping on topic PHP 8.1 issue
Hi Christopher,
I just tried this with PHP 8.0 which is supposed to be compatible with Joomla 3.10.11 and I had exactly the same problem!!!
My server host is going to drop PHP 7.4 anytime soon so going back to that is not really an option.
I have a number of sites using Rapid Contact Ex and moving them all to J4 is quite an exercise which I have started but it is going to take me a while.
I have also just tested the Rapid Contact Ex form on another Joomla 3.10.11 site on PHP 8.1 and that works fine, so now I am totally confused!! Is there really nothing we can do on this as I have had to disable the Contact Form at the moment? I will also have to test my other 3.10.11 sites to see if they have the same problem and, if so, disable their forms.
Regards,
Gary
I just tried this with PHP 8.0 which is supposed to be compatible with Joomla 3.10.11 and I had exactly the same problem!!!
My server host is going to drop PHP 7.4 anytime soon so going back to that is not really an option.
I have a number of sites using Rapid Contact Ex and moving them all to J4 is quite an exercise which I have started but it is going to take me a while.
I have also just tested the Rapid Contact Ex form on another Joomla 3.10.11 site on PHP 8.1 and that works fine, so now I am totally confused!! Is there really nothing we can do on this as I have had to disable the Contact Form at the moment? I will also have to test my other 3.10.11 sites to see if they have the same problem and, if so, disable their forms.
Regards,
Gary
Please Log in or Create an account to join the conversation.
- Christopher Mavros
- Offline
- Administrator
1 year 11 months ago #6
by Christopher Mavros
Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!
Replied by Christopher Mavros on topic PHP 8.1 issue
Alright, so at least we know that this is not relevant to the PHP and Joomla versions after all.
I just dug a little deeper and found out that this function is only invoked when using PHP Mail instead of SMTP in the site's global configuration.
Is it possible to switch to SMTP instead? There are many benefits, most of which are discussed in a help base article called PHP Mail vs SMTP when sending emails from Joomla .
Let me know if that helps.
Thanks again.
I just dug a little deeper and found out that this function is only invoked when using PHP Mail instead of SMTP in the site's global configuration.
Is it possible to switch to SMTP instead? There are many benefits, most of which are discussed in a help base article called PHP Mail vs SMTP when sending emails from Joomla .
Let me know if that helps.
Thanks again.
Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!
Please Log in or Create an account to join the conversation.
Moderators: Christopher Mavros
- Home
- Support
- Forums
- Rapid Contact Ex
- Extension Forums
- Rapid Contact Ex Forum
- PHP 8.1 issue