I have a problem with Wordpress Database (mysql). The id field are called ID (in uppercase) in all tables and the ActiveRecord can't access to it or show it. ActiveRecord can access to all params except id.
I've changed the static $primary_key in model to all possibilities ('id', 'ID') and it does't work.
Hello,
I have a problem with Wordpress Database (mysql). The id field are called ID (in uppercase) in all tables and the ActiveRecord can't access to it or show it. ActiveRecord can access to all params except id.
I've changed the static $primary_key in model to all possibilities ('id', 'ID') and it does't work.
Any suggestion?
Version php-activerecord v1.1.2