Jump to content

Prestashop 1.7.8.3 cannot edit text of Pages


mbarnils
 Share

Recommended Posts

Hi! I recently updated Prestashop to version 1.7.8.3 and since then I have not been able to edit pages (Design / Pages) in other languages than English. The text field does not appear for other languages (see attached screenshot).

Hope you can give me a hand :) Thank you!

Captura de Pantalla 2022-02-20 a les 22.00.09.png

Share this post


Link to post
Share on other sites

A few things to check:

1. Set Debug to yes and note any error messages;
2. Check the console tab in browser's devtools;
3. If you have any third party module (not in the default PS package), disable it.
4. See if you have any overrides in the override/classes and override/controllers/admin
I suppose the cache was cleared.

Share this post


Link to post
Share on other sites

En 20/2/2022 a las 10:00 PM, mbarnils dijo:

Hi! I recently updated Prestashop to version 1.7.8.3 and since then I have not been able to edit pages (Design / Pages) in other languages than English. The text field does not appear for other languages (see attached screenshot).

Hope you can give me a hand :) Thank you!

Captura de Pantalla 2022-02-20 a les 22.00.09.png

Same problem here. Default PS theme, all overrides disabled.
Any suggestion?

EDIT 1:

This is the error thrown in console: 

Uncaught TypeError: Cannot read properties of null (reading 'textContent')
    at e.value (cms_page_form.bundle.js?1.7.8.3:26:6446)
    at tN.<anonymous> (cms_page_form.bundle.js?1.7.8.3:26:4090)
    at vp.c.fire (<anonymous>:2:197006)
    at tN.fire (<anonymous>:2:197532)
    at tN.load (<anonymous>:2:347090)
    at bw (<anonymous>:2:328168)
    at ww (<anonymous>:2:330246)
    at Aw (<anonymous>:2:332445)
    at tN.<anonymous> (<anonymous>:2:333551)
    at Array.<anonymous> (<anonymous>:2:96969)

 

EDIT 2: I cannot save changes to any CMS page.

Edited by maryano
Error message added (see edit history)

Share this post


Link to post
Share on other sites

On 2/21/2022 at 9:02 AM, Rhobur said:

A few things to check:

1. Set Debug to yes and note any error messages;
2. Check the console tab in browser's devtools;
3. If you have any third party module (not in the default PS package), disable it.
4. See if you have any overrides in the override/classes and override/controllers/admin
I suppose the cache was cleared.

Hi Rhobur,

Thank you for your answer!

Yes, cache was cleared right after the upgrade.

1. Debug mode did not show any error, but warnings: "Translation not found".

2. The console tab indicated an error (see attached screenshot)

Uncaught TypeError: Cannot read properties of null (reading 'textContent')
    at e.value (cms_page_form.bundle.js:26:6446)
    at tN.<anonymous> (cms_page_form.bundle.js:26:4090)
    at vp.c.fire (<anonymous>:2:197006)
    at tN.fire (<anonymous>:2:197532)
    at tN.load (<anonymous>:2:347090)
    at bw (<anonymous>:2:328168)
    at ww (<anonymous>:2:330246)
    at Aw (<anonymous>:2:332445)
    at tN.<anonymous> (<anonymous>:2:333551)
    at Array.<anonymous> (<anonymous>:2:96969)

3. There is no third party module enabled regarding the customization of CMS pages, only the overall Leo Theme.

4. I am not sure how to find if there are overrides. Where should I find this?

 

Thank you so much once again!

Captura de Pantalla 2022-02-26 a les 11.49.11.png

Share this post


Link to post
Share on other sites

Hi,

I have been able to solve it rewriting the files Cms_page_form.bundle.js and category.bundle.js. Good part is that now all languages have their text field. Bad one is that there are no text editor options.

Any ideas what can be missing?

Thank you so much!

Captura de Pantalla 2022-02-27 a les 15.23.49.png

Captura de Pantalla 2022-02-27 a les 15.23.25.png

Share this post


Link to post
Share on other sites

hace 19 horas, mbarnils dijo:

Hi,

I have been able to solve it rewriting the files Cms_page_form.bundle.js and category.bundle.js. Good part is that now all languages have their text field. Bad one is that there are no text editor options.

Any ideas what can be missing?

Thank you so much!

Captura de Pantalla 2022-02-27 a les 15.23.49.png

Captura de Pantalla 2022-02-27 a les 15.23.25.png

I changed the files Cms_page_form.bundle.js and category.bundle.js with new files from clean install of 1.7.8.3 and now it works. I can see languages content and editor options too.

Share this post


Link to post
Share on other sites

  • 2 weeks later...

HI,

I have the same issue both using a fresh 1.7.8.3 docker installation   than using the downloaded zip file with standard theme and no cache 

In En is fine

 image.png.cb17700647da4f9779a5142607d6da96.png

Switching to It

image.png.35df8993ed3418a98b70b21ec13ad514.png

I got console error, same as @mbarnils 

image.png.4b641d42c6141032627922df77514465.png

 

Share this post


Link to post
Share on other sites

Hi,

To give just a quick update: trying the 1.7.8.4 version on  docker it works, so I just updated from 1.7.8.3 to 1.7.8.4 using 1-Click Upgrade and also in this case the issue was solved.

 

Share this post


Link to post
Share on other sites

  • 5 months later...

Hi everyone,

just for your info.

I updated my client's site to 1.7.8.5 and had the same issue. I couldn't save any modifications to CMS pages.

I replaced the cms_page_form.bundle.js from the admin/new-theme/public and now it seems to work properly.

 

thanks.

Share this post


Link to post
Share on other sites

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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More