WordPress.org

Ready to get started?Download WordPress

Forums

Disqus Comment System
Strict Standards: Only variables should be assigned by reference in (4 posts)

  1. richmcnabb
    Member
    Posted 1 year ago #

    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/

  2. richmcnabb
    Member
    Posted 1 year ago #

    Should also mention this is a local copy. Server installation works fine!

  3. flynsarmy
    Member
    Posted 1 year ago #

    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);
  4. richmcnabb
    Member
    Posted 1 year ago #

    Great that works, thanks flynsarmy.

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags