Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] Fatal error: function get() - [ Item.php ]

[FIXED] Fatal error: function get() - [ Item.php ] 16 Jun 2013 09:27 #7480

  • liubov
  • liubov's Avatar
  • Offline
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
  • Karma: 22
I apply my project changes into Cook2.5.

In the SANDBOX, New Item OK, but SAVE function gives error :
Fatal error: Call to a member function get() on a non-object in /home/cook/sites/www.j-cook.net/public_html/sandbox/cms25/administrator/components/com_demo9139/classes/controller/item.php on line 650
Error : Call to a member function get() on a non-object

Project : HPC7000
Table: virtual_machins
Layout : Machine Virtuelle.

New Item, and Save ...

Could you check file 'item.php ', please.
Last Edit: 16 Jun 2013 11:39 by liubov.
The administrator has disabled public write access.

Re: Fatal error: function get() - [ Item.php ] 16 Jun 2013 09:55 #7481

  • BTB300
  • BTB300's Avatar
  • Offline
  • Moderator
  • Posts: 415
  • Thank you received: 132
  • Karma: 47
+ 1 I think
Component originally built in 2.0
2.5 build from j-cook.net
Error in Sandbox and downloaded component - Upon save new item record

Fatal Error: call to member function get() on a non object in ...classes/controller/item.php
Last Edit: 16 Jun 2013 09:57 by BTB300.
The administrator has disabled public write access.

Re: Fatal error: function get() - [ Item.php ] 16 Jun 2013 10:18 #7482

  • BTB300
  • BTB300's Avatar
  • Offline
  • Moderator
  • Posts: 415
  • Thank you received: 132
  • Karma: 47
Just Created a new project Cook 2.5 [BETA-TESTS]

Project: test
one table -> new table
two fields -> my_string and my_string2

Save a new record and i got the following

1.6 - build
Fatal error: Call to undefined method JSession::checkToken() in /home/cook/sites/www.j-cook.net/public_html/sandbox/cms16/administrator/components/com_demo9230/classes/controller/item.php on line 644

Fatal error: Call to undefined method JDate::toSql() in /home/cook/sites/www.j-cook.net/public_html/administrator/components/com_jcook/fork/helpers/sandbox/shared/logs/php/phpLog.php on line 535

2.5 build
Fatal error: Call to a member function get() on a non-object in /home/cook/sites/www.j-cook.net/public_html/sandbox/cms25/administrator/components/com_demo9230/classes/controller/item.php on line 650
Error : Call to a member function get() on a non-object

Hope it helps a little with locating issue
The administrator has disabled public write access.

Re: Fatal error: function get() - [ Item.php ] 16 Jun 2013 14:54 #7496

  • beasty1711
  • beasty1711's Avatar
  • Offline
  • New Member
  • Posts: 19
  • Thank you received: 1
  • Karma: 0
Im getting same on J2.5

Fatal error: Call to a member function get() on a non-object in


...classes/controller/item.php on line 650
The administrator has disabled public write access.

Re: Fatal error: function get() - [ Item.php ] 17 Jun 2013 04:16 #7501

Hi,
I get the same error.
Please note that the component works fine in the sandbox on Joomla 3.0
Thanks!
Phil
The administrator has disabled public write access.

Re: Fatal error: function get() - [ Item.php ] 18 Jun 2013 06:29 #7539

  • cefnllys
  • cefnllys's Avatar
  • Offline
  • Premium Member
  • Posts: 102
  • Thank you received: 5
  • Karma: 1
Hi, I to have this error and once again it is only occurring on j2.5. j3.0 seems to be fine.
The administrator has disabled public write access.

Re: Fatal error: function get() - [ Item.php ] 18 Jun 2013 08:50 #7541

Same error here, but in my production site!!

First the I had the problem with PHP5, upgraded it. Now this! Please help!!!!
The administrator has disabled public write access.
The following user(s) said Thank You: ahmdaim@gmail.com

Re: Fatal error: function get() - [ Item.php ] 18 Jun 2013 12:03 #7554

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
I am working on this...
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Fatal error: function get() - [ Item.php ] 18 Jun 2013 16:16 #7563

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Fixed.
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.067 seconds

Get Started