Save Posts with images linked to media – Memory Error
-
On saving posts with images linked to media files I get “PHP Fatal error: Allowed memory size”.
It seems to be an error in photoswipe-masonry.php – “public function photoswipe_save_post()”When I change line 420 if (!!$new_content && $new_content !== $post_content)
to
“if (!$new_content && $new_content !== $post_content)” (only one exclamation mark)
everything seems to work, but I dont’t know exactly what the double exclamation mark means.
I can reproduce the problem on multiple websites
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Save Posts with images linked to media – Memory Error’ is closed to new replies.