Page 1 of 1
Error "Call to undefined method Joomla\Filesystem\File::exists()", e-mail attachments for order status
Posted: 31 Mar 2025, 08:41
by mic.web24
Hi,
if there is a PDF as an attachment for an order status, a white page with this error appears after clicking on the ‘Buy now button’:
0
Call to undefined method Joomla\Filesystem\File::exists()
Without attachment it works fine.
Does anyone else have this problem or is there a solution?
PhocaCart 5.0.0RC2
Thank you, regards
Martin.
Re: Error "Call to undefined method Joomla\Filesystem\File::exists()", e-mail attachments for order status
Posted: 01 Apr 2025, 01:21
by Jan
Hi, can you enable debug mode and paste here whole error message including trace (to see in which file and row this happens)
Which version of Joomla do you use?
Thank you, Jan
Re: Error "Call to undefined method Joomla\Filesystem\File::exists()", e-mail attachments for order status
Posted: 01 Apr 2025, 08:21
by mic.web24
Hello Jan,
I hope the picture helps with troubleshooting:
I use Joomla 5.2.5
PhocaCart 5.0.0RC2
Thanks, Martin.
Re: Error "Call to undefined method Joomla\Filesystem\File::exists()", e-mail attachments for order status
Posted: 01 Apr 2025, 14:03
by Jan
Hi, thank you for info, will be changed in next version
To make a quick fix, go to:
administrator/components/com_phocacart/libraries/src/Mail/MailHelper.php
and on line cca 22 change
FROM:
TO:
Re: Error "Call to undefined method Joomla\Filesystem\File::exists()", e-mail attachments for order status
Posted: 02 Apr 2025, 10:31
by mic.web24
Thank you. It works fine now. Greetings Martin.
Re: Error "Call to undefined method Joomla\Filesystem\File::exists()", e-mail attachments for order status
Posted: 02 Apr 2025, 15:05
by Jan
OK