Closed AntonFix closed 1 year ago
This won't necessarily solve this error, but I encountered it while trying to get MigxDB set up on a MODX 3.0.1 site. I found a comment from Bruno elsewhere that said MigxDB would work if the initial files were generated in MODX 2. I tested this by setting up a working MigxDB table in MODX 2.8.3, then I upgraded to MODX 3.0.1 and it still worked, no errors. I was able to copy over the MODX 2 file structure of /core/components/mypackagename/ into my initial MODX 3.0.1 site and got it working.
In case it helps, I've tested this on a MODX 3.0.3 site and the following will fix the errors. Find the $modx->getService()
line for modFileHandler
in the following files:
core/components/migx/elements/tv/input/migx.php
core/components/migx/model/migx/migxinputrender.class.php
core/components/migx/model/migx/migx.class.php
Update the line to:
$this->modx->getService('fileHandler', '\MODX\Revolution\File\modFileHandler', '', array('context' => $this->modx->context->get('key')));
duplicate of #387 and allready fixed
Can we expect a new Alpha release with this fix?
here it is for testing: https://github.com/Bruno17/MIGX/blob/master/_packages/migx-3.0.0-beta1.transport.zip
In my Laragon dev enviroment got these errors in modx 3.0.3 and Migx 3.0.0-alpha5. Migx config (MIGX photo album) was imported from Modx 2.8.5. Just copied 2.8.5 Migx config and paste it to 3.0.3 Migx. Everything works fine in 3.0.3 except those two errors. @garryn fixes worked, no more errors.
try the newest, currently 3.0.1-beta2, from here: https://github.com/Bruno17/MIGX/tree/master/_packages
Installed 3.0.1.beta2. Seems to work as it should.
Hello, MODX Revolution 3.0.1-pl MIGX 3.0.0-alpha5
Have an error message:
Full message: `
[2022-06-20 16:39:20] (ERROR @ /home/celestia/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 666)
[2022-06-20 16:39:20] (ERROR @ /home/celestia/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 1267)
` I've tried (this solution)[https://community.modx.com/t/modx-3-0-1-only-migx-template-variables-appearing-in-resources/5357]: reinstall MODX Revo, CacheClear, have checked path /core/src/Revolution/Processors/ Any ide how to solve it?