WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a WordPress site using the Photocrati theme. When I attempt to use the "New Photocrati Gallery/Album" button in any page or post editor I get [an error occurred while processing this directive] in the window that pops up. I've spent the last couple days corresponding with Photocrati support trying various things and have had no luck. I'm hoping maybe someone on here has seen this before or can possibly point me in the right direction to resolve this. Please see the screenshot below.

enter image description here

share|improve this question
I'm assuming this issue started after upgrading to WP 3.5? If so, it has to do with the new media uploaded and backing up your version of WP should fix the problem. That said, plugin and theme support are beyond the scope of this forum. – Dan Jan 24 '13 at 0:48
To be honest I don't know when the problem started, but I'll assume after upgrading to 3.5. This site has literally not been touched in over a year aside from the occasional login to backup/update. I just recently noticed this problem when the client requested some additions to the site. As far as being beyond the scope of the site, I felt it better fit this site than StackOverflow where I regularly visit. – AndyWarren Jan 24 '13 at 0:56
I just rolled back WP to 3.4.2, and unfortunately, that did not resolve the problem. – AndyWarren Jan 24 '13 at 1:07
What is the "Photocrati" theme? I mean, link? (rhetoric question...) :::: That error message is not showing up if I search the core, so I'm quite positive it's not a WP error. Drop all the theme files in a good editor and do a global search for this message. Better yet, disable all plugins first and see if the error persists. Anyway, do a full troubleshooting. – brasofilo Jan 24 '13 at 1:19
Here's the link to Photocrati: photocrati.com They currently own and maintain NextGen. I've tried everything under the sun to get this corrected, including disabling all plugins. The theme support team also can't figure this one out. I was hoping as a last straw here that somebody had maybe seen this before with this theme. I may be S.O.L. on this and just have to do a rebuild. – AndyWarren Jan 24 '13 at 1:39

Are you using WP Super Cache? Even with it deactivated, there are still caching files around. I did a quick Google search to find a bunch of threads and articles like this http://abbyandwin.net/blog/2009/10/14/wordpress-an-error-occurred-while-processing-this-directive/

share|improve this answer
I am not using that plugin. I read several things regarding cache issues also, but I am not using a cache plugin. Thanks for the answer though. – AndyWarren Jan 24 '13 at 19:08
I dig some more digging. Looks like it is likely a PHP permissions error. Have you checked with your host about permissions already? – Scott Wyden Kivowitz Jan 24 '13 at 23:51
I have been in contact with my host a couple times. They do not seem to have an answer. I've 777'd the entire directory just for testing purposes, and that did not help. That of course if file permissions though. – AndyWarren Jan 25 '13 at 1:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.