I upgraded an old installation of Modx first to the latest Modx 2 branch, then upgraded the plugins before upgrading the site to the latest Modx v3 (3.0.5pl).
When I now try and upgrade the Articles extra, it keeps throwing this error:
PHP warning: require_once(/home/path/public/core/model/modx/modprocessor.class.php): failed to open stream: No such file or directory
This is the latest version of Articles from the Package Manager.
It seems without this extra, I can’t modify the content of the site.
Try manually deleting all files in the core/cache directory. My guess is that the older version of the Articles class or its plugin is still in the cache. You may also need to clear your browser cache (or use private or incognito mode).
I’m not doubting you, but I’m confused by the error. That file, in that location is specific to MODX 2. It doesn’t make sense for the MODX 3 version of Articles to be requiring that file. That’s why I suspected the cache.
Also, I’ve looked at the Articles code and couldn’t find a require statement for that file.
Before upgrading to MODX 3 with Articles installed, you’ll need to update Articles to at least version 1.8.0-pl. This will ensure an older incompatible version of Articles doesn’t cause any errors during the upgrade process.
I’ll have to try it again as I can’t remember accurately.
I did though take the time to install modx as a fresh install and I’m currently copying over the content and such as it’s been a while since I created the site.
Luckily it’s not a massive site, but I’ve noticed a few odd things with the articles plugin on a fresh install.
As it’s in alpha, I’m wondering if there’s anything good as an alternative perhaps please?