You have bad code in a PHP Widget. Go to the widgets page, find the PHP widget in question, and fix the bad code you have in there.
Thread Starter
hegi
(@hegi)
but it wasn’t before, why now ?
And that is the main Reason to use the revision function, to go back to a state without failure in code
Thread Starter
hegi
(@hegi)
and the Problem is that the bad code is in an old revision page, but i cant get into that, because i get the error, as seen above.
Again, the problem has nothing to do with “revisions”. Whatever code you have in the PHP widget is broken. It’s expecting some data on the normal post case which is not present when you’re looking at a revision.
I don’t know what your custom code in the widget actually is. Therefore I cannot debug it for you. The error message says your problem is in the eval()’d code. That’s your custom code in the widget. It is *telling you explicitly* that that is where the problem is.
It does not matter what you think about revisions or whether or not it worked before. The problem is definitely in your custom code.