zendexperts / zedb Goto Github PK
View Code? Open in Web Editor NEWA ZF2 module that allows developers to focus on the entities they work with instead of how to retrieve or store data in the database.
License: Other
A ZF2 module that allows developers to focus on the entities they work with instead of how to retrieve or store data in the database.
License: Other
PHP Notice: Undefined index: id in vendor/zendexperts/ze-db/src/ZeDb/Model.php on line 165
if ($data[$this->primaryKey])
Guess you need to use isset and check if Id exists
Relevant portion of my composer.json:
"require": {
"php": ">=5.2",
"brikou/zend_db": "master"
},
Partial results from running composer install
:
Loading composer repositories with package information
Installing dependencies
- Installing brikou/zend_stdlib (dev-master 4e8d9fe)
Cloning 4e8d9fe37a793b19dc39ae8846db244fa6cbad16
- Installing brikou/zend_validator (dev-master d347248)
Cloning d347248c6d8add518bb000d688383c6dd5959325
- Installing brikou/zend_di (dev-master 26d8a3a)
Cloning 26d8a3a12eedbab647eabe267af03b8bda730cb2
- Installing brikou/zend_loader (dev-master 23d3c4f)
Cloning 23d3c4f08255ce71793047eca004cf0f47b83f95
- Installing brikou/zend_uri (dev-master e490638)
Cloning e49063898a8b9bf2fd2e3e64beb43325f7e2a833
- Installing brikou/zend_translator (dev-master fe9d840)
Cloning fe9d840da62c577e0fbeff82576210e09d54ad5e
- Installing brikou/zend_registry (dev-master c63d86c)
Cloning c63d86cfbbd0c29c7d22533e3d619f1d44eca4ca
- Installing brikou/zend_server (dev-master cf9ad7a)
Cloning cf9ad7a4d809fda4a93b6bb9a819b68ba6e407b1
- Installing brikou/zend_config (dev-master 957cea8)
Cloning 957cea8d2a427734bc431a12094aea38f1d74ae1
- Installing brikou/zend_http (dev-master 014072f)
Cloning 014072f219d5b39307cc7f95bbaa376b85ae0f35
- Installing brikou/zend_json (dev-master 16686d8)
Cloning 16686d8a2280d40ff600105eb21e10ebfb97653e
- Installing brikou/zend_locale (dev-master 106bd0c)
Cloning 106bd0c434e3fc91b6e5b402e65fbb3255e8dd12
- Installing brikou/zend_date (dev-master cd4f994)
Cloning cd4f994c65099d41b33b2335597820548bba1cb8
- Installing brikou/zend_time-sync (dev-master dd3827a)
Cloning dd3827a4b08f03bd7492b82a9328e46ce2971101
- Installing brikou/zend_cache (dev-master 0c5e281)
Cloning 0c5e281661e063a4ddc7efa0521777da9667667f
- Installing brikou/zend_crypt (dev-master 83b4707)
Cloning 83b47078659dbc2c0c62320bc472464b036f0c83
- Installing brikou/zend_xml-rpc (dev-master bb753d2)
Cloning bb753d2d6cef0c418d73cd2da97d840721346bc5
- Installing brikou/zend_filter (dev-master 97f00be)
Cloning 97f00be923ad7b8dfcc86ec6f387432989ccfb6d
- Installing brikou/zend_event-manager (dev-master 797e3f3)
Cloning 797e3f3602b05ba1e60be2d50fcf9ee962918f03
- Installing brikou/zend_text (dev-master 177bcd1)
Cloning 177bcd10885d17cf379f1b0051ccf3762ae6121a
- Installing brikou/zend_db (dev-master 62793dc)
Cloning 62793dc96ecb73091d4575a0222e7b5b31c00f88
- Installing brikou/zend_session (dev-master af77516)
Cloning af775161d4b30a1dc7fae3ade533cb1a1b085837
- Installing brikou/zend_code (dev-master 2dac2f0)
Cloning 2dac2f0ad4eab8a381e722d527f6ee85367913a9
Error:
Zend\Db\Sql\Select::limit expects parameter to be numeric, "NULL" given
Current code:
$select->limit(($limit === null ? null : 1 * $limit));
$select->offset(($offset === null ? null : 1 * $offset));
Fix:
if ($limit !== null) {
$select->limit(1 * $limit);
}
if ($offset !== null) {
$select->offset(1 * $offset);
}
That makes the thing work again.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.