CakePHP: Call to undefined function: getfieldvalue()

Since 1.1.14.4797 version of CakePHP, the function DataSource::getFieldValue() has been disappeared :), but a reference is remained in the aclnode.php.

Starting from a post on the mailing list, if you get an error like Fatal error: Call to undefined function: getfieldvalue() in …\cake\libs\controller\components\dbacl\models\aclnode.php on line 113, you can easily fix it by changing the line (aclnode.php:113) from

$idList = DataSource::getFieldValue(...

to

$idList = Set::extract(...

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s