Jump to content

Multishop and CMS pages


gaw

Recommended Posts

Hello,

i have a problem with CMS pages - i'm using Multishop.

PrestaShop 1.7.6.0

When i switch to specific store and try to enter to Design -> Pages i have an error - ERR_TOO_MANY_REDIRECTS (browser error, checked on Firefox, Chrome).

When i switch to All stores, then Design -> Pages i can see all pages, when i'm click on Edit everything is good but i'm editing in All stores mode. When i try to edit page under specific store i get an error

Notice: Undefined variable: form

Symfony\Component\Debug\Exception\ ContextErrorException
in src/PrestaShopBundle/Controller/Admin/Improve/Design/CmsPageController.php (line 292)

                if ($e instanceof CmsPageNotFoundException) {
                    return $this->redirectToRoute('admin_cms_pages_index');
                }
            }
           
            return $this->render(
                '@PrestaShop/Admin/Improve/Design/Cms/edit.html.twig',
                [
                    'cmsPageForm' => $form->createView(),
                    'cmsCategoryParentId' => $request->get('id_cms_category'),

292 line is  $form->createView()

My server

Server information Linux #159-Ubuntu SMP Fri Aug 10 07:31:43 UTC 2018 x86_64

Server software version: Apache

PHP version: 7.1.20-1+ubuntu16.04.1+deb.sury.org+1

Memory limit: 128M

Max execution time: 30

Upload Max File size: 75M

Can You help me?

Link to comment
Share on other sites

  • 11 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...