Jump to content

Front end editor error


abmcr
 Share

Recommended Posts

I get an error

 

"failed to load modal.js: TypeError: Cannot read property 'prototype' of undefined"

 

When the page is loaded . I have read the doc, but only the 

In the php code i have set option B;
 

<?php echo $page->edit("txt");?>

 ProcessWire 3.0.32 devns

The front end editor module is installed

Thank you

 

Link to comment
Share on other sites

I have this error alert problem with a site as well. I have narrowed the issue down to the following circumstances:

  1. The front end templates use Bootstrap but have no modal popups
  2. The problem only occurs when logged in as an admin
  3. The problem only occurs on pages that are 4th in the page hierarchy, ie:

+ Home

++ Blog

+++ Category

++++ Blog article (error alert occurs on this page)

For example: http://www.mysite.com.au/blog/categories/my-article/

It's not a showstopper on this site but is annoying.

Site uses:

  • - ProcessWire 3.0+
  • - PHP 5.6

HTH tracking down the cause.

 

  • Like 1
Link to comment
Share on other sites

  • 3 years later...
  • 1 month 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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...