Why images won't show for visitors


I’m getting the following error when visitors try to view images attached to posts.

Warning: strstr() [function.strstr]: Empty delimiter in C:workeclipsesvn-xtoolswwwwp-contentpluginsmembershipmembershipincludesclassesmembershippublic.php on line 423
404 — File not found.

So I looked at line 423, and logged the value from get_option(‘upload_path’:wink:.

I looked into the WP manual and this is a core option. I don’t understand why it would be return an empty string for visitors.

This works fine for registered users.