Search

I've got several basic datasources that use SubsectionManager (3.5.1) but I keep getting a fetchFields() error when trying to view existing Datasources or create new ones.

Here is the error:

Fatal error: Call to a member function fetchFields() on a non-object in /Users/jdsimcoe/Sites/saplings/extensions/subsectionmanager/fields/field.subsectionmanager.php on line 843

Here is a screenshot of the output:

https://www.dropbox.com/s/n5qdb8mf9ofnt0h/Screenshot%202013-09-19%2016.15.37.png

Can anyone help me sort this out. I'm running this localhost with PHP 5.4 on OS X 10.8.5.

Ok, so bzerangue helped me sort this out. First of all, this thread was a great reference for this issue:

http://www.getsymphony.com/discuss/thread/83270/6/#position-120

I did multiple things and am not sure what fixed my issue, but here is what I did:

  • Deleted all sections with a SubsectionManager except the one I needed (these were left over from an old install)
  • Removed the SubsectionManager field from the Section
  • Disabled SubsectionManager extension
  • Deleted the Datasource in question
  • Created a new Datasource
  • Re-enabled the SubsectionManager extension
  • Added the SubsectionManager field back to the desired Section
  • Was able to edit and save the Datasource successfully

Hopefully this will help anyone in the future that is having issues. It seems like just saving the section might have worked (if I had known that at the time) but these steps may help some of you troubleshoot this beast in the future.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details