Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 71 bytes)
This is a PHP error message that indicates your script is trying to use more memory than the amount specified in the PHP configuration.
The error message is saying that your script is trying to use more than 268,435,456 bytes of memory, but the server only has that much memory available to PHP. To fix this issue, you can increase the value of the memory limit in your server's PHP configuration.
You can increase the memory limit by adding this line of code to the top of your script or in the PHP.ini file:
ini_set('memory_limit', '512M');
This will increase the memory limit to 512MB.
Alternatively, you can also check your script, optimize any memory usage such as unset variable, large loop, etc.