Author:
buzzomatic
Version:
1.1.1
Released:
11 April 2011
Category:
Field Types

New#3: Creation of first BiLink field throws MySQL Error

I’m getting an error from the commit function with regards to

$linkedfieldid = $this->get(‘linkedfieldid’);

As it’s the first field I’m creating, there isn’t an ID for another section. I’ve been trying to think of a way around this, but can’t.

The field is still correctly added to the section, but throws this error.

Sorry, that’s

$linked_field_id = $this->get('linked_field_id');

Line 232

I’ve sent you a pull request about this.

For reference (to save me hunting again), a permalink anchor to this fix: https://github.com/designermonkey/bilinkfield/commit/1cffaa248ac90f5b4b04e57ef8cd2c0af1cdf9bf#L0L242

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