Sometimes when we have too many form fields or conditional rules, forms cannot be copied and/or sorting of conditional rules cannot be completed.
This can be seen in @app/runtime/logs/app.log as:
Allowed memory size of 268435456 bytes exhausted
To fix this, we need to increase the PHP memory limit set in the php.ini file. To make changes to this file, use the cPanel MultiPHP INI Editor:
- cPanel >> Software >> MultiPHP INI Editor
- Choose the domain (domain.com)
- Adjust the memory_limit item
* Note that the memory limit value can be expressed in bytes (-1 for unlimited), kilobytes (128K), megabytes (256M), or gigabytes (2G).