issue upgrading to 5.6.3.4
PermalinkWithin that while block the $row['cID'] value is 2794 but there is no cID with value 2794 in the collections or the pages tables. The following sql statement reveals that 2794 is the only cID in the PagePermissions table that does not exist in the Collections table. Changing the subquery to search the Pages table gives the same result.
select distinct cID from PagePermissions where cID not in (select cID from Collections)
Removing "distinct" from the query simply results in four rows being returned.
Is this something that might have happened from an incomplete deletion of a page? Is this basically an orphaned cID and is it safe to simply delete every row from PagePermissions that has a cID of 2794?
I am doing this upgrade in a dev environment for testing purposes using a copy of the production db so I can safely experiment without having to worry about breaking the site.
