Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; DokuHTTPClient has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/HTTPClient.php on line 20 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; HTTPClient has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/HTTPClient.php on line 53 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Doku_Event has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/events.php on line 12 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Doku_Event_Handler has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/events.php on line 116 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; cache has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/cache.php on line 15 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; cache_parser has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/cache.php on line 163 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; cache_instructions has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/cache.php on line 277 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Doku_LexerParallelRegex has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/parser/lexer.php on line 35 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Doku_LexerStateStack has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/parser/lexer.php on line 229 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Doku_Lexer has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/parser/lexer.php on line 285 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Doku_Handler has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/parser/handler.php on line 4 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Doku_Handler_CallWriter has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/parser/handler.php on line 699 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Doku_Handler_Nest has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/parser/handler.php on line 728 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Doku_Handler_List has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/parser/handler.php on line 770 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Doku_Handler_Preformatted has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/parser/handler.php on line 963 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Doku_Handler_Quote has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/parser/handler.php on line 1017 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Doku_Handler_Table has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/parser/handler.php on line 1109 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Doku_Handler_Block has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/parser/handler.php on line 1386 FS#20 : genericdb: urlencode() expects parameter 1 to be string, array given

ConLite

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Core
  • Assigned To
    Ortwin Pinke
  • Operating System
  • Severity Critical
  • Priority Very High
  • Reported Version Contenido 4.8.16 CL beta
  • Due in Version ConLite 1.0
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: ConLite
Opened by Ortwin Pinke - 11.04.2012
Last edited by Ortwin Pinke - 18.04.2012

FS#20 - genericdb: urlencode() expects parameter 1 to be string, array given

I’ll get an error while using the modul nivoslider.

[11-Apr-2012 11:56:46] PHP Warning: urlencode() expects parameter 1 to be string, array given in C:\xampp\htdocs\xxx\contenido\classes\class.genericdb.php on line 1936

[11-Apr-2012 11:56:46] PHP Stack trace:

[11-Apr-2012 11:56:46] PHP 1. {main}() C:\xampp\htdocs\xxx\cms\front_content.php:0

[11-Apr-2012 11:56:46] PHP 2. eval() C:\xampp\htdocs\xxx\cms\front_content.php:928

[11-Apr-2012 11:56:46] PHP 3. ModuleMpNivoSliderOutput→generateOutput() C:\xampp\htdocs\xxx\cms\front_content.php(928) : eval()’d code:420

[11-Apr-2012 11:56:46] PHP 4. ModuleMpNivoSliderOutput→_getImages() C:\xampp\htdocs\xxx\cms\includes\class.module.mpnivoslider.output.php:211

[11-Apr-2012 11:56:46] PHP 5. ItemCollection→next() C:\xampp\htdocs\xxx\cms\includes\class.module.mpnivoslider.output.php:435

[11-Apr-2012 11:56:46] PHP 6. UploadMetaCollection→loadItem() C:\xampp\htdocs\xxx\contenido\classes\class.genericdb.php:1310

[11-Apr-2012 11:56:46] PHP 7. Item→loadByPrimaryKey() C:\xampp\htdocs\xxx\cms\includes\class.uploadmeta.php:75

[11-Apr-2012 11:56:46] PHP 8. Item→loadBy() C:\xampp\htdocs\xxx\contenido\classes\class.genericdb.php:1670

[11-Apr-2012 11:56:46] PHP 9. Item→_inFilter() C:\xampp\htdocs\xxx\contenido\classes\class.genericdb.php:1624

[11-Apr-2012 11:56:46] PHP 10. urlencode() C:\xampp\htdocs\xxx\contenido\classes\class.genericdb.php:1936

Closed by  Ortwin Pinke
18.04.2012 17:45
Reason for closing:  Fixed
Additional comments about closing:  

Adapted genericdb from contenido svn. Error seems to be fixed. please reopen if u get this error or make a new ticket.

Deprecated: Function create_function() is deprecated in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/includes/class.user.php on line 115 Project Manager
Ortwin Pinke commented on 11.04.2012 13:21

Ok, i checked that out and there was no check for is_string or is another object when in- and out-filters are used. We have to have a look over that again, maybe there ist something wrong with that item stuff in genericdb. In methods Loadbyxxx sometimes there is a string given, sometimes there is an array.
I added check for string at some points, but that seems only to be a workaround, not really a fix. Maybe some more investigation is needed.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing