Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

array_map() and implode() warnings
(1 viewing) (1) Guest
Support forum for users using free edition of JoomDOC. These forums are mainly for mutual help between users.

NOTE: Due to our capacity limitations, ARTIO does not monitor this forum category regularly. If you want direct support from ARTIO, please start a ticket at Support Dashboard. If you have no support ticket available, you need to purchase it.
  • Page:
  • 1

TOPIC: array_map() and implode() warnings

array_map() and implode() warnings 12 years, 7 months ago #24205

I'm receiving the following messages when I access a JoomDoc page in my Joomla web site:


Warning: array_map() [function.array-map]: The first argument, 'JFilterOutput::stringURLSafe', should be either NULL or a valid callback in /home/tssob/thesecondsetofbooks.info/cms/administrator/components/com_joomdoc/libraries/joomdoc/utilities/string.php on line 93

Warning: implode() [function.implode]: Invalid arguments passed in /home/tssob/thesecondsetofbooks.info/cms/administrator/components/com_joomdoc/libraries/joomdoc/utilities/string.php on line 94

Who would I approach with these messages, to get a fix/resolution?

Thanks.
The topic has been locked.

Re: array_map() and implode() warnings 12 years, 6 months ago #24702

  • brianmurphy
I have a site with Joomla 1.5 and had the same problem. Here is what I did to fix it:

Open administrator/components/com_joomdoc/libraries/joomdoc/utilities/string.php

Change line 93 to say:

$segmentsSafe = array_map(J16 ? 'JApplication::stringURLSafe' : NULL, $segments);

The error goes away and I haven't noticed any ill effects yet.
The topic has been locked.

Re: array_map() and implode() warnings 12 years, 6 months ago #24803

  • lubi
  • OFFLINE
  • Posts: 221
Which php version do you use?
ARTIO Support Team
The topic has been locked.

Re: array_map() and implode() warnings 12 years ago #29215

The same warnings; PHP-Version: 5.2.16
The topic has been locked.

Re: array_map() and implode() warnings 11 years, 9 months ago #31611

Same problem too, so i changed administrator/components/com_joomdoc/libraries/joomdoc/utilities/string.php on line 96 with :

$segmentsSafe = array_map(J16 ? array('JApplication', 'stringURLSafe') : array('JFilterOutput', 'stringURLSafe'), $segments);
The topic has been locked.
  • Page:
  • 1
User Login Empty