@ringmaster:
Thanks for your response. You’re right, I had overlooked your earlier posting on the topic. However, I don’t think that the “here document” (<<<
) syntax is the problem in this case. I made the changes you suggested, and now I get a slightly different error message displayed in the same place as before:
Fatal error: Call to undefined function: add_action() in [my site root]/wp-content/plugins/exhibit10.php(227) : eval()'d code on line 2
I also tried using the “here document” syntax in another test PHP script on the same server (Dreamhost, which runs PHP4.3.4), and it worked fine. Any other ideas?