File Not Found When Saving Snippets
Both Code Snippets free and Code Snippets Pro is broken on multiple sites. When I attempt to edit a snippet, clicking the save button produces a 404 file not found error.
After these errors occur, I have to reboot Apache because the sites will crash with memory allocation errors.
I cannot use Code Snippets on any of my production sites because of these issues. Here’s a video to demonstrate what’s happening:
The PHP error log is loaded with Code Snippet Errors, these are the ones that are repeated often.
[02-Aug-2022 09:53:50 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 28672 bytes) in /public_html/wp-content/plugins/code-snippets-pro/php/front-end/class-frontend.php on line 159
[02-Aug-2022 10:05:25 UTC] PHP Deprecated: Return type of FS_Key_Value_Storage::offsetExists($k) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /public_html/wp-content/plugins/code-snippets-pro/vendor/freemius/wordpress-sdk/includes/managers/class-fs-key-value-storage.php on line 309
- The topic ‘File Not Found When Saving Snippets’ is closed to new replies.