Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] Error on layout backend

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

  • teg
  • teg's Avatar
  • Offline
  • New Member
  • Posts: 11
  • Karma: 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,
The administrator has disabled public write access.

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

  • teg
  • teg's Avatar
  • Offline
  • New Member
  • Posts: 11
  • Karma: 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!
The administrator has disabled public write access.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
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
The administrator has disabled public write access.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
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
The administrator has disabled public write access.

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

  • teg
  • teg's Avatar
  • Offline
  • New Member
  • Posts: 11
  • Karma: 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
The administrator has disabled public write access.

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

  • teg
  • teg's Avatar
  • Offline
  • New Member
  • Posts: 11
  • Karma: 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
The administrator has disabled public write access.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
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
The administrator has disabled public write access.

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

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

Regards, :)
The administrator has disabled public write access.
Time to create page: 0.078 seconds

Get Started