Welcome, Guest
Username: Password: Remember me

TOPIC: JDom Library

JDom Library 08 Nov 2018 08:44 #15620

  • liubov
  • liubov's Avatar
  • Offline
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
  • Karma: 22
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 ?
The administrator has disabled public write access.

JDom Library 27 Nov 2018 16:33 #15632

  • Nicolas
  • Nicolas's Avatar
  • Offline
  • Premium Member
  • Posts: 83
  • Thank you received: 12
  • Karma: 6
hi

for my part, nothing abnormal
The administrator has disabled public write access.

JDom Library 24 Jun 2019 06:14 #15742

  • muneebrao
  • muneebrao's Avatar
  • Offline
  • New Member
  • Posts: 8
  • Karma: 0
I'm also getting the same error in joomla 3.9.

Can someone please solve this issue?
The administrator has disabled public write access.

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.
The administrator has disabled public write access.

JDom Library 16 Apr 2020 08:12 #15803

  • liubov
  • liubov's Avatar
  • Offline
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
  • Karma: 22
thank you for that.
The administrator has disabled public write access.
Time to create page: 0.078 seconds

Get Started