I am attempting to use the xPDO Wordpress to MODx Migration Code on GitHub:
https://github.com/devtrench/WordPress-to-MODx to copy resources to a localhost (xampp) install of Revolution 2.2. I have configured the files per the instructions but am running into a couple of error messages that I don't know how to resolve.
Upon executing the php file I am receiving the following error messages:
Notice: Undefined property: modX::$db in xampp\htdocs\cgroup\core\model\wordpress\wp-migrate.php on line 134
Notice: Trying to get property of non-object in xampp\htdocs\cgroup\core\model\wordpress\wp-migrate.php on line 134
Notice: Undefined property: modX::$db in xampp\htdocs\cgroup\core\model\wordpress\wp-migrate.php on line 157
Fatal error: Call to a member function query() on a non-object in xampp\htdocs\cgroup\core\model\wordpress\wp-migrate.php on line 157
I've posted the lines in question 134 and 157 to
http://pastie.org/5661856
Any advice on how to proceed? The script successfully created a new container resource I named 'Articles' in the configuration file, but nothing more. If this is tied to the comments then I would be willing to lose those if it meant I could have the resources in full.
Thanks!
David