This question has been answered by waizen. See the first response.
text/plain error.log ( ASCII text ) [2018-08-21 09:49:46] (ERROR @ /home/username/public_html/core/cache/includes/elements/modsnippet/55.include.cache.php : 117) PHP warning: require_once(/home/username/public_html/core/components/upgrademodx/model/upgrademodx.class.php): failed to open stream: No such file or directory [2018-08-21 10:10:11] (ERROR @ /home/username/public_html/core/model/modx/modmanagerresponse.class.php : 190) PHP warning: Parameter 1 to modManagerController::getInstance() expected to be a reference, value given [2018-08-21 10:10:13] (ERROR @ /home/username/public_html/core/model/modx/modmanagerresponse.class.php : 190) PHP warning: Parameter 1 to modManagerController::getInstance() expected to be a reference, value given [2018-08-21 10:10:58] (ERROR @ /home/username/public_html/core/model/modx/modmanagerresponse.class.php : 190) PHP warning: Parameter 1 to modManagerController::getInstance() expected to be a reference, value given [2018-08-21 10:14:44] (ERROR @ /home/username/public_html/core/model/modx/modmanagerresponse.class.php : 190) PHP warning: Parameter 1 to modManagerController::getInstance() expected to be a reference, value given [2018-08-21 10:32:24] (ERROR @ /home/username/public_html/core/model/modx/modmanagerresponse.class.php : 190) PHP warning: Parameter 1 to modManagerController::getInstance() expected to be a reference, value given [2018-08-21 10:36:29] (ERROR @ /home/username/public_html/core/model/modx/modmanagerresponse.class.php : 190) PHP warning: Parameter 1 to modManagerController::getInstance() expected to be a reference, value given ...etc for many more...
if (!defined('MODX_CONNECTORS_PATH')) {
$modx_connectors_path= '/home/username/public_html/connectors/';
$modx_connectors_url= '/connectors/';
define('MODX_CONNECTORS_PATH', $modx_connectors_path);
define('MODX_CONNECTORS_URL', $modx_connectors_url);
}
if (!defined('MODX_MANAGER_PATH')) {
$modx_manager_path= '/home/username/public_html/changedmanagername/';
$modx_manager_url= '/changedmanagername/';
define('MODX_MANAGER_PATH', $modx_manager_path);
define('MODX_MANAGER_URL', $modx_manager_url);
}
...
You want the modx_dashboard_widget_placement table. Delete all records in it. That won't remove the widgets themselves, but it will take them off all dashboards. Then manually delete all files in the core/cache directory before trying to log in. Your widgets will still exist and you can try putting them back on the dashboard (in System -> Dashboards -> Widgets) one at a time until you find the culprit.