WordPress.org

Support

Support » Plugins and Hacks » Strict Standards: Only variables should be assigned by reference in

Strict Standards: Only variables should be assigned by reference in

  • Having issues when I am trying to delete any post I receive the following error message:

    Strict Standards: Only variables should be assigned by reference in /Applications/MAMP/htdocs/wp-content/plugins/disqus-comment-system/disqus.php on line 1240

    Warning: Cannot modify header information – headers already sent by (output started at /Applications/MAMP/htdocs/wp-content/plugins/disqus-comment-system/disqus.php:1240) in /Applications/MAMP/htdocs/wp-includes/pluggable.php on line 875

    Any help would be greatly appreciated. Thanks

    http://wordpress.org/plugins/disqus-comment-system/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Should also mention this is a local copy. Server installation works fine!

    I’m also experiencing this. The solution is pretty simple. In method dsq_prev_permalink() change

    $post = &get_post($post_id);

    to

    $post = get_post($post_id);

    Great that works, thanks flynsarmy.

    Just getting my head around WP/PHP so appreciate you taking the time to help me out.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Strict Standards: Only variables should be assigned by reference in’ is closed to new replies.