Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

JDom Library 08 Nov 2018 08:44 #15620

  • liubov
  • liubov's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
Hi all,
I saw a count() Warning from the JDom Library. In some case, this issue make an http error 500 since Joomla3.9.
Warning: count(): Parameter must be an array or an object that implements Countable in /home/liubov/www/husky.crash/libraries/jdom/dom.php on line 384

Is anyone get this too ?

Please Log in or Create an account to join the conversation.

JDom Library 27 Nov 2018 16:33 #15632

hi

for my part, nothing abnormal

Please Log in or Create an account to join the conversation.

JDom Library 24 Jun 2019 06:14 #15742

I'm also getting the same error in joomla 3.9.

Can someone please solve this issue?

Please Log in or Create an account to join the conversation.

JDom Library 16 Apr 2020 07:48 #15802

Just ran into that problem. It comes from function arg in dom.php of JDom library.
You can either change line 384 from
else if (($i !== null) && (count($args) > $i))
to
else if ($i !== null)

OR disable GZIP in Joomla configuration to workaround for now.

Please Log in or Create an account to join the conversation.

JDom Library 16 Apr 2020 08:12 #15803

  • liubov
  • liubov's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
thank you for that.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.063 seconds

I must say that I'm leaps and bounds ahead of where I would have other been with J2.5 with full thanks to the folks on this forum and specifically to Cook so you'll never hear me complaining.
gdpodesta (Forum)  

Get Started