Then $s is probably a class name, not an object.
In reply to Re^3: Unable to turn off strict refs by chromatic in thread Unable to turn off strict refs by nysus