• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 12.10.20, 12:45
  • Opened by: Ettore
  • Closed by: Fred
  • Closed on: 25.11.20, 11:00
  • Reason: Closed
  • Comment: Glad to help!

Ticket #19410 - Console error backend product page and page builder

Hi,
i have two bugs:

  1. when i insert new product, the shorth description field and description field don’t works. in console i see this error:

Uncaught TypeError: u is not a constructor

  at B.init (<anonymous>:2:225955)
  at s.<anonymous> (<anonymous>:2:224136)
  at Array.<anonymous> (<anonymous>:2:65832)
  at u (<anonymous>:2:34223)
  at p (<anonymous>:2:65809)
  at <anonymous>:2:65793
  at HTMLScriptElement.o (<anonymous>:2:64820)

whit default theme all works

  1. randomly page builder stop working and in console i see this error:

VM4220:2 Uncaught TypeError: Cannot read property ‘body’ of null

  at NodeList.eval (eval at <anonymous> (jquery-1.11.0.min.js:2), <anonymous>:2:97333)
  at u (eval at <anonymous> (jquery-1.11.0.min.js:2), <anonymous>:2:34223)
  at Object.serialize (eval at <anonymous> (jquery-1.11.0.min.js:2), <anonymous>:2:97281)
  at B.getContent (eval at <anonymous> (jquery-1.11.0.min.js:2), <anonymous>:2:238201)
  at B.save (eval at <anonymous> (jquery-1.11.0.min.js:2), <anonymous>:2:236946)
  at Array.eval (eval at <anonymous> (jquery-1.11.0.min.js:2), <anonymous>:2:247817)
  at u (eval at <anonymous> (jquery-1.11.0.min.js:2), <anonymous>:2:34223)
  at Object.triggerSave (eval at <anonymous> (jquery-1.11.0.min.js:2), <anonymous>:2:247788)
  at HTMLButtonElement.<anonymous> (widget.js:361)
  at HTMLButtonElement.dispatch (jquery-1.11.0.min.js:3)

eval @ VM4220:2
u @ VM4220:2
serialize @ VM4220:2
getContent @ VM4220:2
save @ VM4220:2
eval @ VM4220:2
u @ VM4220:2
triggerSave @ VM4220:2
(anonymous) @ widget.js:361
dispatch @ jquery-1.11.0.min.js:3
r.handle @ jquery-1.11.0.min.js:3

Thabks for the support

Comments

Fred 12 Oct 2020, 12:51

Hi, Luca Sinopoli.
Please fill out all necessary fields in your profile https://support.promokit.eu/index.php?do=myprofile to access to your back office and FTP

Ettore 12 Oct 2020, 14:20

it is necessary for this error?

Fred 09 Nov 2020, 22:13

Yes, I need to see the error

Jimmy 23 Nov 2020, 20:08

Do you have resolved this issue for product page with description hidden ? I have the same issue, please give me the fix :)

Fred 24 Nov 2020, 10:40

Fixed file attached
The path is /modules/pspagebuilder/

Attachments:

pspagebuilder.php (20.7 KiB)
Jimmy 24 Nov 2020, 22:23

Thanks all is good

Fred 24 Nov 2020, 22:23

great!