Can't see new added custom blocks until refreshing
PermalinkWe are developing new blocks in application/blocks. When we edit a page and add any of these blocks in a new page, it's not possible to see them until refreshing the page with F5. This doesn't happen with concrete5 blocks, but we cannot see any difference in their code.
Any help would be welcome.
Thanks in advance,
Juan Ramón
9-sep-2020 Update:
I forgot to say that our Concrete5 version is 8.3.2.
I allso forgot to mention that the problem also happens when editing one of our custom blocks: changes don't show until refreshing the page.
I keep on asking myself why the problem doesn't happen with the original concrete blocks but only with our custom ones.
The error will likely be in generating a new view() after save() has completed.
http://192.168.56.101/index.php/ccm/system/block/render?arHandle=%C...
Which seems to be the one responsible for the rendering of the area in which the block was added.
The error message is:
Call to undefined method Concrete\\Controller\\Backend\\Block::getRequestActionParameters()
This getRequestActionParameters() is called in the block's view() method.
This happens when I save the block changes. After that, if I reload the page (still in edit mode) I don't get this 500 error and the block shows in the area. I don't understand why.
Hope this helps.