Author:
buzzomatic
Version:
0.3
Released:
9 June 2011
Category:
Field Types

New#1: No page output when no breadcrumb trail is given

<error>Argument 1 passed to Extension_Breadcrumb_Field::getBreadcrumbChildren() must be an instance of Field, null given, called in C:wampwwwextensionsbreadcrumb_fieldfieldsfield.breadcrumb.php on line 169 and defined</error>

I get this error on my page if there are no breadcrumb trails.

i.e Section as Pages and the Home page doesn't need any breadcrumbs.. hence the NULL output. I'm filtering by entry titles and have a $title as required URL param. When typing into the url: localhost/en/home where en is the Symphony page and home is the Section entry title.. I get the above error and no output on the frontend. Am I using it wrong or is this a bug?

I had the same problem and I think I managed to fix it. In /breadcrumb_field/fields/field.breadcrumb.php on line 168 replace $field with $this. Also it looks like Subsection Manager conflicts with Breadcrumb Field, but a bug report has been submitted for that already.

Please login 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