Page copying went wrong
after copying a page that went wrong(see attached image 1) in site map I get the following error message: "Page copy operation pending". Any idea how/where I can fix that? "Resume copy", Database refresh, cache clearing didn't work.
Hmm, that's kind of weird. Do you have a database backup?
If so, are you comfortable inspecting the QueuePageDuplicationRelations table in your database (with phpMyAdmin, command line or similar) and seeing if it's empty? I skimmed concrete/tools/dashboard/sitemap_copy_all.php and at first glance it seems like that table is used during the copy process and then truncated (wiped out).
I wonder if you have some entries in there?
You can probably just clear that entire queue if it's stuck like that. As always please make a database backup first.
Disable the Overrides Cache.
Create a tools file
Add this code
Queue::get()->deleteQueue('copy_page'); echo 'Queue Deleted';
Execute the tools file by navigating to(replace example.com with your site)
You may also need to click the "Reset All Jobs" button in the Jobs page in the Dashboard after that.
My problem is that I can't remove the notice in sitemap.
Did you ever resolve this please? I have the same issue and mkly's code didn't have any effect on the actual dashboard message for me either.
There's probably a value or two can be changed in the database I imagine.
I may have to restore a C5 dbase backup in my case but this doesn't seem to be a practical solution on a site with many editors if it happens again in the future.
no, I didn't resolved it.