Strict warning: Only variables should be passed by reference in mostpopular_service_load() (line 415 of mostpopular.module).

get this warning when I try to configure services for addthis..

Comments

snipe’s picture

I have solved similar error, give me a day time will post you an update related to your code

Regards
Suketu

nikkwong’s picture

Hi, did you find something for this. thanks

balarajesh’s picture

use '@' sign in front of reset to suppress the warnings
It may work.

jimsmith’s picture

Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new647 bytes

Instead of suppressing the warning, let's fix the error properly. Here's a patch.

gisle’s picture

Status: Needs review » Reviewed & tested by the community

Patch in #4 is good.

  • markie committed 466c691 on 7.x-1.x authored by JimSmith
    Issue #1704348 by JimSmith: Strict warning: Only variables should be...
markie’s picture

Status: Reviewed & tested by the community » Fixed

Pushed to dev branch. Thanks for your help

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.