This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

program.es
program.es

I create content by Resource:https://octobercms.com/blog/post/getting-started-static-pages. Work fine.

After that, I update to build 261 but got error "array_merge(): Argument #2 is not an array C:\wamp\www\testcms\modules\cms\classes\Controller.php line 880"

Line 880:

$result = $template->render(array_merge($this->vars,$parameters));

Try to change Line 880 to below, It work fine.

$result = $template->render(array_merge((array)$this->vars, (array)$parameters));

Correct way?

Last updated

jamiegrand
jamiegrand

this update has given me a Major headache... its an issue for sites that have migrated from beta new installs are fine lost everything created with static pages. above edit dosen't fix my issues

jamiegrand
jamiegrand

Correction the above edit works however I was using the user session component on static pages and if the component was set to allow only :ALL and redirect:to : none it killed the page... prior to issuing the above error message. removing the session component restored the page

Last updated

Sung
Sung

I encounter the same bug :(

1-4 of 4

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.