Check that there not a privacy page stuck in the Trash folder, if there is delete it 🙂
Hi superduperkev,
Thanks for your reply. I checked the Trash and there was nothing there. It seems to be trying to create the privacy page for site mysubdomain.mydomain.com in the same table as mydomain.com. I have unique identifiers set up for each site within wp-hive.
Hope this helps.
Hey Tebor,
I had a quick look at wp-hive, unfortunately I don’t think this Easy Privacy plugin is going to work due to the way EPP stores the Post Id of the Privacy Page – that’s how it knows whether its added already and how to find it again, sorry I can’t be of more help 🙁
Thanks Kev,
I wonder if there’s a way of modifying the plugin code. I know coding but I’m not good with php.
I might take a look. Thanks for your help.
talking about easy-privacy-policy.php
This problem lies in the wp_exist_post_by_title() and wp_exist_post() functions of the plugin. It checks for “wp_posts” in the SQL query, when those shouldn’t be static and should be a variable generated by that speicifc blog. EX: instead of “wp_posts” for MU blogs it should be “wp_X_posts” where X is the number of the blog.
Hacked solution for me was just to replace the error checking “if($this->wp_exist_post_by_title(get_option(‘easy_privacy_pagetitle’)))” with “if(false)” and it worked fine, because I couldn’t find the legitimate php variable that find the DB prefix.
Running WP Version 3.0.1 with multi-site enabled.
Thanks for your reply ooooooscar. I will take a look. So I just replace the whole line with “if(false)”?