Articles error after upgrading

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.

Could someone help me please?

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).

Thanks, that doesn’t seem to have worked :frowning:

Also, is it normal that when I am on the main admin area, under resources, I don’t see any of my pages listed?

I they’re created with Articles, that’s normal. You only see Articles pages when you right-click on your Blog container and select “Manage Articles.”

Ah ok.
I still can’t get the extra to update though.
Tried to clear the the cache, cleared cookies and incognito mode and tried a different browser.

Same error :frowning:

Any other ideas please?

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.

I did see this on the GitHub Articles page:

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 had very much the same problem with Articles - you might find that this helps…

1 Like

What’s the full class key for the MODX3 version of Articles? I need to update SiteCheck to fix this issue.

Sorry for the delay, work has kept me busy :frowning:

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?

How do I find the full class key please?

It’s shown in the class_key column in the modx_site_content table in the database.