Plug-in cause 1st publish to bomb but 2nd attempt works
-
Let me just describe what’s happening and then maybe someone who’s familiar with the WP underbelly can point me in the right direction as to what the problem might be?
This is only happening with a particular plug-in (that I have in beta and am down a this last bug). Please help if you can.
Post > New. I type in a title and a body and hit Publish. WP churns and then renders a blank page (URL ending in /post.php). If I hit the back button I do return to the new post page BUT the title is blank and on the right above the Publish button the post is showing as still *not* published. However, if I go back out to the listing of all Posts, the post is there (with the title) and it’s published.
Now if I go back into that same post and hit Publish a second time, everything works just fine. No white screen of (post) death and the plug-in fires as it should.
I have also tried to save to Draft and then Publish. Still no good. There’s no blank screen and the title does save. But again, the first time I hit publish WP returns a white screen and the plug-in doesn’t fire.
Finally, I’m using:
error_reporting(E_ALL); // display all errors, including notices
ini_set(‘display_errors’, true); // display the errors to the screen.and am not getting any errors.
Could I have some sort of timing issue with my post custom meta data? Or maybe something with those, the cache and writing to options? I realize it’s probably hard to say without seeing the code but I’m hoping someone might be able to give me some directions. I’m just pecking at it kinda randomly and it’s consuming far too much of my time.
HELP!!!! ??
- The topic ‘Plug-in cause 1st publish to bomb but 2nd attempt works’ is closed to new replies.