Olaf24
Forum Replies Created
-
Now I have no child pages at all (only top level), but the error does still occur in this single project.
I can send you the complete project to your website-mail-adresse, if you want: WP-Project and Database-Export. Does that make sense to you?
Hello Joachim,
yes, everything is the same, on my development machine. The error shows up on every page creation.
But OK, the error seems to be so unprobably, that I dare going online these days and give the control to my customer.
I tried strange things in the development process. Nested conditional conclusions all over. Maybe the error has established while doing these strange things. Now my code has become pretty normal. New projects with the same code run without trouble. So I can live with some mystery left.
If I get a similar error again, I will inform you. And I store the erroneous project for further investigations, if new questions come up.
Thank you so much Joachim for taking care!
When I altered my CPTs to hierarchical=false the problem was gone there.
To get rid of it with my Pages too, I deactivated all other plugins, but the problem was still there.
So I reduced my code base … (and reduced and reduced and reduced)
At some point nothing was left.
So I started an experiment: I have now 2 new projects with exactly the same files and exactly the same configuration. Just the basic files and the CAS-Plugin, no functions.php, no sidebars, no widgets, no permalink-altering, nothing special.
One project does show the database error on creating new Pages, the other does not.
Is it possible, that your plugin has written some resistent configuration data at some point? Is there a place to look for?
Hi again,
sorry for bad preparation: It is just the same with the creation of ordinary Pages. So not only CPTs are affected.
But the error does not appear while creating ordinary (Blog-)Posts.
Olaf