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.088 seconds

Although I found this tool some time ago I just started learning experimenting and building this first component on Monday and now on Thursday afternoon it's already online. Although I already had a working version done with another tool this is much easier to build and at the end you have the freedom to own your own component. Once you know how to use Cook you will boost your productivity as the learning curve is really moderate compared to many other tools.
Giori (Forum)

Get Started