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

TOPIC:

Warning: parameter must be array or object 10 Feb 2019 12:08 #15651

  • vlemos
  • vlemos's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 295
  • Thank you received: 41
Hello Admin, all the best for 2019:

I am getting the following message in my cook project:
Warning: count(): Parameter must be an array or an object that implements Countable in .../libraries/jdom/dom.php on line 384

Can you help?

Thanks
V

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

Warning: parameter must be array or object 10 Feb 2019 22:45 #15654

Hello,

This is not an error but a warning.
which version of php are you using?
The following user(s) said Thank You: vlemos

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

Warning: parameter must be array or object 12 Feb 2019 02:44 #15659

  • vlemos
  • vlemos's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 295
  • Thank you received: 41
PHP 7.2.10 & Joomla! 3.8.13

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

Warning: parameter must be array or object 12 Feb 2019 04:39 #15660

hello

the problem comes from joomla core. and a known problem of PHP 7.2 only

You have 3 solutions:
  1. change php version to 7.1.x
  2. set joomla error messages to "none" or "simple"
    • administrator/index.php?option=com_config
      TAB server -> error report = none (recommended)
  3. the third is not recommended. You have to modify the joomla core to find the error in Jdom
The following user(s) said Thank You: admin, vlemos

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

Last edit: by Nicolas.

Warning: parameter must be array or object 13 Feb 2019 13:29 #15661

  • vlemos
  • vlemos's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 295
  • Thank you received: 41
Thanks Nicolas
K++

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

Warning: parameter must be array or object 13 Feb 2019 13:44 #15662

  • vlemos
  • vlemos's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 295
  • Thank you received: 41
BTW and Hello Admin: All the best for 2019.

I have much custom code in my jdom. But would like to see this and several other issues addressed directly in the builder. j-cook pro is a great tool, but it is currently fading and can become irrelevant if nothing is done to move it forward.
There are simple tasks which must be repeated for each and every type of field which can and should be applied across a given project. Something like Ajax enabled fields is a case in point. One should be able to click "apply to project" and move on to more important tasks. Also, most fields are of such a type that they are left justified, but cook has all fields centered by default. This one issue generates a large amount of work in a 10 table project.

This is yet another issue which can help if resolved.


The ability to change the linked fields would offer more flexibility to the code generation process

All in all, j-cook still has a great code-base.

Best regards
v

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

Warning: parameter must be array or object 15 Feb 2019 12:55 #15663

Hi Vlemos

This is not the right place to request additional functionality.
If this is not part of the initial problem you must reopen a topic on the category : New functionalities

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

Warning: parameter must be array or object 18 Feb 2019 21:57 #15665

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Thanks Nicolas for your help and thank you vlemos for your feedback.
Keep posting your suggestions. All is beeing kept and archived for the next developements.
In proper topic is a best, for sure.
Coding is now a piece of cake

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

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

Les générateurs de code je les connais presque tous pour les avoir essorés en long en large et en travers ... mais celui ci c'est vraiment un outil formidable de simplicité et d'efficacité !
Marc. (liubov - Forum)

Get Started