4 users online. Create an account or sign in to join them.Users

Search

I’m not yet submitting this as a bug report to a specific extension because, to be honest, I’m not sure which extension is to blame here.

I created a new installation of Symphony 2.0.7 (locally) with the latest versions of all extensions and so forth. I created a section that contained one Address field and a few Text Box fields that was made into a single-entry by the Static Section extension.

Now, whenever I try to enter in data to the fields I get an error telling me to check the activity log, which outputs as follows:

2010/02/27 13:16:44 > WARNING: 2 - in_array() [function.in-array]: Wrong datatype for second argument in file /Users/doug/Projects/Design by Admiral/201001 Website Redesign/Web Files/Alpha/extensions/selectbox_link_field/fields/field.selectbox_link.php on line 482

Odd as I do not have a Select Box field on this section. However, if I remove the Address field everything works just fine.

The offending line is:

$fields[] = array($f->get('id'), @in_array($f->get('id'), $this->get('related_field_id')), $f->get('label'));

I think there’s an issue related to the Address field making reference to something in the Select Box Link field which is now broken or at least no longer accessible?

Getting the same warning here - no address field in use, though.

Then it must be the Selectbox Link field, I would have thought. However, it’s not in use on the section I get the error in. The only fields in use are the Text Box field and the Address field.

I get the same Warning here ina 2.0.7 install.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.2 or above
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.0 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details