• After installing the latest update to Participants Database, I get the following error when trying to export a filtered list (by date updated greater than November 25, 2018)
    html_entity_decode() expects parameter 1 to be string, array given in /home/young**s/public_html/wp-content/plugins/participants-database/classes/PDb_Field_Item.php on line 319.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author xnau webdesign

    (@xnau)

    This indicates there is some unexpected data in your database…in this case, a multidimensional array. Participants Database does not normally store such arrays in the database (it stores only “flat” arrays), so it may be something that was imported directly to the database.

    This can be difficult to find because unless you know which record it was that caused the problem, you need to search the database for the value that is giving you this message. A multidimensional array will look something like this:

    a:1:{i:0;a:3:{s:4:"name";s:11:"Susan Smith";s:4:"city";s:6:"Boston";s:5:"state";s:2:"MA";}}

    There will be flat arrays that will look similar in the database, but a multidimensional array is one that has a “a:” inside the curly brackets. Did I mention it would be hard to find?

    Anyway, i’d be interested to hear what you discover about this.

    Plugin Author xnau webdesign

    (@xnau)

    by the way, a multidimensional array is an array of arrays, a flat array is simply an array of values.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘html_entity_decode() expects parameter 1 to be string, array given’ is closed to new replies.