@patrick, I think this one is for you…
I have a strange message being returned by a server action in the Network debug tab of Chrome:
data: "<br />↵<font size='1'><table class='xdebug-error xe-fatal-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'>↵<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 134217728 bytes) in Unknown on line <i>0</i></th></tr>↵</table></font>↵"
I have a structure of server actions calling each other via API calls in this hierarchy:
messages/send_message_template.php (called from a server connect)
api/send_message_template.php
api/send_message.php
api/send_email_transactional.php
api/send_sms.php
This error occurs when “send_message.php” is called through the API call from another server action.
I have a second problem in that when I edit the API Action Step in “send_message.php” that calls “api/send_email_transactional.php”, then Wappler freezes, consumes 50% of my laptop’s CPU and takes about 2 minutes to close. I also notice that as I move between the server actions in Wappler, Wappler is noticably slower to both open and save the server action “send_message.php”.
All the PHP code has been created in Wappler with no hand editing of the files.
What is the best way to go about finding a solution to this?
Many thanks,
Antony.