User tests: Successful: Unsuccessful:
Im trying to delete categories from CLI using JTableCategory class and JTable::getInstance('Corecontent'); return nothing. Addint the path solve the problem
You can look the bootstrap.php of the script here: https://github.com/fastslack/jUpgradePro/blob/master/cli/bootstrap.php
Should i to add jimport('cms.table.corecontent'); ?
Your bootstrap is bringing in the Platform files (libraries/joomla and libraries/legacy), but not the CMS (libraries/cms) stuff. I just sent you a PR to handle that.
Thanks Michael! Closing..
JTableCorecontent is autoloadable. Is your CLI script running the code at
/libraries/cms.php
(or something similar) to properly load in the/libraries/cms/
files?