#6023: Fatal error: Cannot access empty property in ... model.php line 2675
----------------------------------+-----------------------------------------
Reporter: lhenocque | Type: Bug
Status: new | Priority: High
Milestone: 1.2.x.x | Component: Model
Version: 1.2 Final | Severity: Critical
Keywords: model scaffolding | Php_version: PHP 5
Cake_version: |
----------------------------------+-----------------------------------------
Hi,
sorry for submitting a ticket, I found a reply nowhere.
I'm on macos runnig eclipse, firefox, mamp for mysql, all tables are
innodb.
and cakephp 1.1.1.8004 Stable - the latest
I have the following problem:
Fatal error: Cannot access empty property in /Users/lo/Devt/eclipse/
workspace/baketest/cake/libs/model/model.php on line 2675
this occurs with the following declaration in the 'Post' model (the
posts_tags table
exists with correct fields)
All my model controllers are in scaffolding mode
var $hasAndBelongsToMany = array(
'Tag' =>
array(
'className' => 'Tag',
'joinTable' => 'posts_tags',
'with' => '',
'foreignKey' => 'post_id',
'associationForeignKey' => 'tag_id',
'unique' => true,
'conditions' => '',
'fields' => '',
'order' => '',
'limit' => '',
'offset' => '',
'finderQuery' => '',
'deleteQuery' => '',
'insertQuery' => ''
)
);
Is this a known problem and can you please help?
Regards,
Laurent
--
Ticket URL: <https://trac.cakephp.org/ticket/6023>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC.
Our primary goal is to provide a structured framework that enables PHP users at
all levels to rapidly develop robust web applications, without any loss to
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tickets cakephp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---