Jump to content

Error editing children from hidden parent


BFD Calendar
 Share

Recommended Posts

I get a sudden error when trying to edit a page: Error: Using $this when not in object context (line 907 of /var/www/clubmoral_com/site/modules/BatchChildEditor/BatchChildEditor.module) 

It only happens with pages where the parent is hidden, pages are used for selectlists and don't need to be seen elsewhere.

PW 3.0.98 PHP unfortunately 5.3.10

Link to comment
Share on other sites

It's clearly a BatchChildEditor module issue: https://github.com/adrianbj/BatchChildEditor/blob/339624b0a14a9f403ae73b37a08f3e0f5f8d6136/BatchChildEditor.module#L907

It's part of the Lister mode option so if you don't need that, just disabled it and everything will be fine. 

It's a limitation with PHP 5.3 and $this in enclosures.

Link to comment
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

  • Recently Browsing   0 members

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