Skip Navigation

[Resolved] Layouts 1.9-beta1: Triggers Uncaught TypeError When Attempting Front-End Editing

This support ticket is created 7 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 1 reply, has 2 voices.

Last updated by Beda 7 years, 8 months ago.

Assisted by: Beda.

Author
Posts
#477516
philcata-layouts.png

I am trying to: Edit a page using the Layouts front-end editing interface

I visited this URL: hidden link

I expected to see: An editor interface

Instead, I got: A bar at the top and the page displays, but there are no tools for editing...and looking at Chrome Dev Tools shows the following error:

Uncaught TypeError: Cannot read property 'name' of undefined
    at main.js?ver=1.9-b1:594
    at Function.m.each.m.forEach (underscore.min.js?ver=1.8.3:5)
    at DDLayout.AdminPage.self.map_layouts_links (main.js?ver=1.9-b1:589)
    at DDLayout.AdminPage.self.open_edit_layouts_dropdown (main.js?ver=1.9-b1:545)
    at DDLayout.AdminPage.self.init (main.js?ver=1.9-b1:135)
    at new DDLayout.AdminPage (main.js?ver=1.9-b1:600)
    at main.js?ver=1.9-b1:609
    at r (head.min.js?ver=2.2.7:10)
    at Array.<anonymous> (head.min.js?ver=2.2.7:11)
    at m (head.min.js?ver=2.2.7:10)
#477863
Bildschirmfoto 2017-01-15 um 16.24.26.png

This does not happen on my tests.

See also the ScreenShot I added

So this might be related to another Plugin or your Theme, or some Custom Code, or a specific Cell in the Layout that creates the conflict.

Can you show me how exactly I can replicate this problem?

This ticket is now closed. If you're a Toolset client and need related help, please open a new support ticket.