Title: Updated getting some error message
Last modified: August 21, 2016

---

# Updated getting some error message

 *  Resolved [aadyasushu](https://wordpress.org/support/users/aadyasushu/)
 * (@aadyasushu)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/updated-getting-some-error-message/)
 * Hi
 * Strict Standards: Only variables should be assigned by reference in /home2/tosaleco/
   public_html/wp-content/themes/mystile/comments.php on line 28
 * Observing this message after updating my site.
 * What are the thing i need to do to remove this message from my website.
    [http://www.9to9sale.com/terms-conditions/](http://www.9to9sale.com/terms-conditions/)
 * Thanks in advance.

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [linux4me2](https://wordpress.org/support/users/linux4me2/)
 * (@linux4me2)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/updated-getting-some-error-message/#post-5029997)
 * It looks like your server might be running a PHP version that your theme, mystile,
   is not compliant with. There are a number of things you can do:
    - Make sure you are running the most current version of your theme. If not, 
      update to the latest version. If you still get the warning, contact the theme
      developer to fix it.
    - Look at the code on line 28 of /wp-content/themes/mystile/comments.php, and
      change it so that the value is set to a variable, and use the variable on 
      that line instead of (probably) checking the value and passing it by reference
      without assigning it to a variable.
    - Turn off strict standards for your PHP install. I wouldn’t do this, since 
      the strict standards are designed to make sure you use the safest code possible.
      Some people would tell you to turn off error warnings, but I think that’s 
      a mistake, too. Fix the problem.
 *  Thread Starter [aadyasushu](https://wordpress.org/support/users/aadyasushu/)
 * (@aadyasushu)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/updated-getting-some-error-message/#post-5030022)
 * Hi linux4me2
 * First of all thank you for replying my post.
 * here is the code one line of 28
 * <?php $comments_by_type = &separate_comments( $comments ); ?>
 * actually i don’t have that much of knowledge about php. Even I do not what is
   variable in php.
 * If you please let me know what change should i do in that php.
 * or please let me know how to turn off or disabling php standard messages .
 *  [linux4me2](https://wordpress.org/support/users/linux4me2/)
 * (@linux4me2)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/updated-getting-some-error-message/#post-5030026)
 * You might try just removing the ampersand so that line 28 looks like this:
 *     ```
       <?php $comments_by_type = separate_comments( $comments ); ?>
       ```
   
 *  Thread Starter [aadyasushu](https://wordpress.org/support/users/aadyasushu/)
 * (@aadyasushu)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/updated-getting-some-error-message/#post-5030028)
 * Hey
 * It works yaar, really very happy and thankful to you by solving my issue.
 * One more error msg is there please have a look at this.
 * Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback,
   non-static method MR_Social_Sharing_Toolkit::plugin_links() should not be called
   statically in /home2/tosaleco/public_html/wp-includes/plugin.php on line 192
 * line 192 is
 * $value = call_user_func_array($the_[‘function’], array_slice($args, 1, (int) 
   $the_[‘accepted_args’]));
 * Thanks a lot
 *  [linux4me2](https://wordpress.org/support/users/linux4me2/)
 * (@linux4me2)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/updated-getting-some-error-message/#post-5030044)
 * You should do a separate post for that error in the Social [Sharing Toolkit support forum](http://wordpress.org/support/plugin/social-sharing-toolkit)(
   I think that’s it.) so the developer is aware of and can address that.
 * It’s another instance of the code not being completely PHP-compliant with the
   version you’re using. I think in that case, PHP is expecting the first parameter
   to be an actual callback function, not a member of an array.
 *  Thread Starter [aadyasushu](https://wordpress.org/support/users/aadyasushu/)
 * (@aadyasushu)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/updated-getting-some-error-message/#post-5030051)
 * Thanks yaar. Sure will report over there.
 *  [shehzad399](https://wordpress.org/support/users/shehzad399/)
 * (@shehzad399)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/updated-getting-some-error-message/#post-5030076)
 * HI
    Thanks buddy as i was also having the same issue and finally it got resolved
 *  Thread Starter [aadyasushu](https://wordpress.org/support/users/aadyasushu/)
 * (@aadyasushu)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/updated-getting-some-error-message/#post-5030078)
 * Do you having problem with plugins
 * But that issue was not resolved

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Updated getting some error message’ is closed to new replies.

## Tags

 * [comments.php](https://wordpress.org/support/topic-tag/comments-php/)
 * [public_html](https://wordpress.org/support/topic-tag/public_html/)
 * [strict standards](https://wordpress.org/support/topic-tag/strict-standards/)
 * [wp-content](https://wordpress.org/support/topic-tag/wp-content/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 3 participants
 * Last reply from: [aadyasushu](https://wordpress.org/support/users/aadyasushu/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/updated-getting-some-error-message/#post-5030078)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
