Announcement

Symphony's issue tracker has been moved to Github.

Issues are displayed here for reference only and cannot be created or edited.

Browse

Closed#427: Fatal error: Call to a member function fetchFields() on a non-object in content.blueprintsevents.php

If no section is present and an event is created:

Error message:

Fatal error: Call to a member function fetchFields() on a non-object in /symphony/content/content.blueprintsevents.php on line 326

content.blueprintsevents.php

Line 324:

$section = $sectionManager->fetch($fields['source']);
// $fields['source'] is “null“

Line 326:

$section_fields = $section->fetchFields();
// $section is “false“

Good bug! Fixed by adding required validation to the Source dropdown.

Pull requested: https://github.com/nickdunn/symphony-2/commit/95c96558451149ec585a2974da5abc1a1eec43ac

This issue is closed.

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