Author:
nickdunn
Version:
0.4.1
Released:
21 April 2011
Category:
Field Types

New#3: Error on 'Mass Uploader' use

array_keys() expects parameter 1 to be array, null given
C:projectsdestinationsextensionsentry_versionslibclass.entryversionsmanager.php line 38

33      
34      unset($fields['entry-versions']);
35      
36      // run custom DS to get the built XML of this entry
37      $ds = new EntryVersionsXMLDataSource(self::Context(), null, false);
38      $ds->dsParamINCLUDEDELEMENTS = array_keys($fields);
39      $ds->dsParamFILTERS['id'] = $entry->get('id');
40      $ds->dsSource = (string)$entry->get('section_id');
41      
42      $param_pool = array();

I’ve done some work with the Mass Uploader extension as discussed here. It all works, apart from when I activate this extension. The above error is output, per image (or at least it would if it could get past the first one ;o))

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