Forum

Thread tagged as: Problem, Error

Region stuck in draft mode

I have a client with a region with over 1000 items on a live site. She accidentally clicked the "Save as Draft" checkbox when adding a new item and now the region is stuck in draft mode.

I found the offending item and deleted and saved the region which seemed to take it out of draft mode but now no new items can be added to the region. Whenever they are it goes into draft mode and no matter how many times you save with checkbox unchecked it stays in draft mode. What can I do?

Brad Hardinge

Brad Hardinge 0 points

  • 6 years ago

Look at the error log, this could the related error?

[Tue Nov 10 17:42:58 2015] [warn] [client 101.182.66.201] mod_fcgid: stderr: PHP Warning: Invalid argument supplied for foreach() in /var/www/vhosts/blackhawkpetcare.com.au/httpdocs/bh_admin/core/apps/content/modes/edit.form.post.php on line 153, referer: https://www.blackhawkpetcare.com.au/bh_admin/core/apps/content/edit/?id=41&itm=1356 
Drew McLellan

Drew McLellan 2638 points
Perch Support

A region will go into draft if an error occurs. This is to give you the opportunity to sort it out without it affecting your website.

With 1000 items in a region, you're really pushing the limits. I'm not surprised that problems are cropping up. You're going to start running into PHP memory limits, MySQL query size limits and maybe even the limit of the number of fields on a form.

This is really what Collections in Perch Runway are for. Have you considered going that route?

I thought the size might be an issue. When I created, I assumed a couple of hundred items. The client has gone nuts though and added so many.

Perch Runway might be a tough sell. A bigger issue will be how to get the 1000 odd items migrated to collections?

Never mind, I just read the documentation and see their is a collection import feature.

Now to see if I can sell the upgrade to the client.

Rachel Andrew

Rachel Andrew 394 points
Perch Support

Collections import works really well so that shouldn't be a problem. Switching over is very straightforward - we built Runway to act as a progression for sites that end up huge :)

Some of the other features in Runway are listed here if that helps: https://grabaperch.com/blog/archive/why-choose-perch-runway

Simon Clay

Simon Clay 127 points

And also remember you only pay the difference for an upgrade to Runway, not the full price.