• Hi,

    I am getting the following error on saving when I add a single image to a post. The issue does not occur in adding a gallery to the post. The image is still being saved but the following error appears on saving without any confirmation of success on publishing/updating the post.

    Warning: explode(): Empty delimiter in /home/****/wp-content/plugins/photoswipe-masonry/photoswipe-masonry.php on line 264
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/****/wp-content/plugins/photoswipe-masonry/photoswipe-masonry.php:264) in /home/***/wp-includes/pluggable.php on line 1174

    I use define(“WP_CONTENT_URL”, “https://static.xxx.com”); and define(“COOKIE_DOMAIN”, “www.xxx.com”); to set up a cookie-free domain. Removing this option solves the issue.

    Any help is appriciated.

    Thank you for the great plugin.

    Best,

    https://www.ads-software.com/plugins/photo-swipe/

  • The topic ‘Problem with WP_CONTENT_URL’ is closed to new replies.