We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

MetaData Storage is not consistent

Phalcon 2.0.6, Phalcon\Mvc\Model\MetaData\Files Storage is normal,

return array (
  0 => 
  array (
    0 => 'phone',
    1 => 'uid',
  ),
  1 => 
  array (
  ),
  2 => 
  array (
    0 => 'phone',
    1 => 'uid',
  ),
  3 => 
  array (
    0 => 'uid',
  ),
  4 => 
  array (
    'phone' => 14,
    'uid' => 14,
  ),
  5 => 
  array (
    'phone' => true,
    'uid' => true,
  ),
  8 => false,
  9 => 
  array (
    'phone' => 1,
    'uid' => 1,
  ),
  10 => 
  array (
  ),
  11 => 
  array (
  ),
  12 => 
  array (
    'phone' => NULL,
  ),
  13 => 
  array (
  ),
);

but,Session stroage :

["meta-phoneuid-phone_uid"]=>
    array(4) {
      [0]=>
      array(2) {
        [0]=>
        string(5) "phone"
        [1]=>
        string(3) "uid"
      }
      [1]=>
      array(1) {
        [0]=>
        string(5) "phone"
      }
      [2]=>
      array(1) {
        [0]=>
        string(3) "uid"
      }
      [4]=>
      array(2) {
        ["uid"]=>
        int(0)
        ["phone"]=>
        int(0)
      }
    }


1.8k

Zephir\CompilerException: Class Phalcon\Mvc\Model\MetaData\Apc must implement method: setAutomaticUpdateAttributes defined on interface: Phalcon\Mvc\Model\MetaDataInterface this Phalcon 2.0.6 Zephir build Exception; Unable to tracking

What version of PHP are you using?



1.8k

PHP 5.4.40 (cli) (built: Apr 22 2015 17:29:23) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies