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

TOPIC:

Error on layout backend 18 Jul 2013 11:18 #10513

  • teg
  • teg's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 0
Hi,
I create a layout, and i get this error:

Fatal error: Cannot use object of type JForm as array in /home/cook/sites/www.j-cook.net/public_html/sandbox/cms30/administrator/components/com_demo9509/views/orderitem/view.html.php on line 92
Error : Cannot use object of type JForm as array

How can i fix it? Please help!

Thanks,

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

Error on layout backend when running on sandbox 19 Jul 2013 02:08 #10522

  • teg
  • teg's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 0
Hi,

Please support me.

Thanks

I create a layout, and i get this error:

Fatal error: Cannot use object of type JForm as array in /home/cook/sites/www.j-cook.net/public_html/sandbox/cms30/administrator/components/com_demo9509/views/orderitem/view.html.php on line 92
Error : Cannot use object of type JForm as array

How can i fix it? Please help!

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

Error on layout backend when running on sandbox 20 Jul 2013 23:13 #10539

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Your tables 'order' and 'order_item' are confusing.

It has created an issue when you have generated the view.

Where are the layouts for those pages ? I cannot see any layout defined for your table.
Coding is now a piece of cake

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

Error on layout backend 12 Aug 2013 20:39 #10770

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Do you still have this issue ?

I have checked your component, but it has changed since and I can see it is working now.
Does anybody having the same issue ?
Coding is now a piece of cake

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

Issue when running sanbox 16 Aug 2013 02:01 #10783

  • teg
  • teg's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 0
Hi,
I meet some issue with layout Price Package (pricepackage) in Tour Management project.
(both of backend and frontend)
Can you help me fix it!


Fatal error: Call to a member function get() on a non-object in /home/cook/sites/www.j-cook.net/public_html/sandbox/cms30/components/com_demo9509/views/pricepackage/tmpl/default_grid.php on line 36
Error : Call to a member function get() on a non-object


Thanks

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

Issue when running sanbox 16 Aug 2013 02:38 #10784

  • teg
  • teg's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 0
It have been fix, but i meet another issue... :(


I meet some issue with layout Price Package (pricepackage) in Tour Management project.
(both of backend and frontend)
Can you help me fix it!


Fatal error: Call to a member function get() on a non-object in /home/cook/sites/www.j-cook.net/public_html/sandbox/cms30/components/com_demo9509/views/pricepackage/tmpl/default_grid.php on line 36
Error : Call to a member function get() on a non-object


Thanks

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

Issue when running sanbox 16 Aug 2013 09:14 #10785

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Same, now it is because your TABLE ALIAS and ITEM ALIAS are the same.
I mean, the underscore must be removed. I do not understand how you could do that.

Table alias : price_package > become : pricepackage
Item alias : pricepackage (same)

This should not be possible and create the problem.
I will try to make it impossible in the builder.

Please change the aliases.
Coding is now a piece of cake

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

Issue when running sanbox 16 Aug 2013 10:41 #10786

  • teg
  • teg's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 0
Ok!
Thank you very much!
Your support is awesome!

Regards, :)

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

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

For starters it's just so easy to design an app in a way that I'm used to i.e. database first then views followed by customization. The fork system is pure brilliance from a developer standpoint as I can override things and still add and update my projects with minimal effort! Truly amazing to be able to build components in Joomla using incremental refinement without having to do everything by hand. Thanks for the great tool! I am so much more productive now than ever and I can't imagine building components any other way!!!!
Dave (Forum)

Get Started