I'm not sure if it's related to the module being unsupported on PHP4 or not, but upon saving any content profile entry I get SQL Errors that are trying to cache a record for UID 0.
I'm not sure if it's related to the module being unsupported on PHP4 or not, but upon saving any content profile entry I get SQL Errors that are trying to cache a record for UID 0.
Comments
Comment #1
tstackhouse commentedI was able to correct the issue. The problem stems from the anonymous user having no name. This is amplified by calling the calculation helper method directly in realname_nodeapi. The helper method does not bypass the lookup for the anonymous user, therefore a value of '' is attempted to be written into the DB, breaking the queries.
A simple, if somewhat hacky fix, is to make sure that the helper recognizes the anonymous user and behaves accordingly.
Comment #2
hass commented