Composer error

Permalink
Guys,
Have an issue with Composer after installing the latest C5 update. The composer Write page won't publish. There is an error message halfway up by Page list:

Page List
Warning: Invalid argument supplied for foreach() in /home/sites/suecross.com/public_html/updates/concrete5.5.2.1/concrete/blocks/page_list/view.php on line 11

Does naybody know what this is please? Can this be fixed?

Ian

igrieves
 
Mainio replied on at Permalink Reply
Mainio
Have you tried:
a) Clearing your cache (i.e. your SITE cache, in your concrete5 dashboard)
b) Editing that block, saving it and publishing it again

Chances are you might have e.g. old data in your cache or there might have been some settings change between the versions which is affecting the block functionality.
igrieves replied on at Permalink Reply
igrieves
Hi Mainio,

Thanks for your response. I've cleared the cache but what do you mean by the following please:

b) Editing that block, saving it and publishing it again

I have tried to do another blog entry a few times but the Publish, preview and save buttons don't work at present.

Ian
Mainio replied on at Permalink Reply
Mainio
Just go to that page, click it into edit mode, click the erroneous block, click the "Save" button in the edit window and then publish the page.

Just an idea, sometimes there might be some configuration changes over different c5 versions which might get updated to correct ones like this.
igrieves replied on at Permalink Reply
igrieves
Hi Maimio,

I've gone to the Write paeg of composer and clicked inside a content block and saved. Nothing happended and the problem reamins.

The blank page does save to drafts if you use the Preview button but Publish and Save have no effect ie the buttons pulse but no interaction with the server occurs.

Sorry!

Ian
igrieves replied on at Permalink Reply
igrieves
Would you like site access?
Mainio replied on at Permalink Reply
Mainio
Oh, ok, I thought the error was on the page where it lists the articles.

I think you might have e.g. some override in place, did you have an external developer for the site initially?
igrieves replied on at Permalink Reply
igrieves
Hi Mainio,

No it is in the Write page of Composer. I used a theme from the market place - no developer. The blog worked fine until the latest C5 upgrade so am guessing its a Composer issue.

Can I re load Composer at all?

Ian
Mainio replied on at Permalink Reply 1 Attachment
Mainio
Have you multiple publish locations and have you selected the publish location before pressing the "publish" or "save" buttons.

I can recall that at least on some c5 version there was a bug with this when you didn't have the publish location selected.
igrieves replied on at Permalink Reply
igrieves
Yes Publish location is set for the Blog page type in Page Types as Blog so writing a blog defaults to that.

Interetingly not only does the Publish button not work when on the blog write page, neither does the little drop down menu!

Ian
Mainio replied on at Permalink Reply
Mainio
Ok, this really sounds like a case specific thing between the versions you updated from and the current version you're running.

Really strange, I'm out of advice at this point, sorry!

Only thing I can say about this that with the buggy version of c5 the "publish" button didn't also respond when the publish location was not selected so this case might have something similar to that.

Maybe someone else here knows more about this...?
igrieves replied on at Permalink Reply
igrieves
Thanks for your help so far!

Is it possible then to go back to an earlier version of C5?

Ian

-----Original Message-----
From: concrete5 Community [mailto:discussions@concretecms.com]
Sent: 21 May 2012 11:25
To: imcgrieves@gmail.com
Subject: Composer error : Chit-Chat
Mainio replied on at Permalink Reply
Mainio
If you did a backup before updating to the latest version: yes, it is possible to revert to that state.

Otherwise: no.
igrieves replied on at Permalink Reply
igrieves
Doesnt a backup just apply to data in the content blocks etc?
Mainio replied on at Permalink Reply
Mainio
No, it's your whole database and its structure. (although it also contains your data)

It is quite easy to switch the running core version BUT I will say with 99% of confidence that it will not work seamlessly if you have upgraded from version of concrete5 to version with different version number in the second or third number (e.g. from 5.5.0 to 5.5.1 OR 5.5.1 to 5.5.2.1).

Versions that differ from the 2nd (5.X) or 3rd (5.5.X) number have changes in their database structure, so you cannot revert just by changing the running core version or if you just switch it "on the run" you're likely to get much more problems on your site.
igrieves replied on at Permalink Reply
igrieves
Thanks Mainio, let's see if any body else has seen this.
igrieves replied on at Permalink Reply
igrieves
Hi Mainio,

Do you think I should report this a bug?

Ian

-----Original Message-----
From: concrete5 Community [mailto:discussions@concretecms.com]
Sent: 21 May 2012 14:09
To: imcgrieves@gmail.com
Subject: Composer error : Chit-Chat
Mainio replied on at Permalink Reply
Mainio
I don't think this can count as a bug if you cannot replicate this on a totally different concrete5 installation. E.g. if you try a clean install and do the same thing, you should be able to produce the same error there to count it as a bug.

This is probably related to something funky on your site specifically.
hop2us replied on at Permalink Reply
I'm having the same issue after upgrading. Can't publish and get the error. Any updates on this?