Invalidate PHP opcache when files are upgraded

@james - didn’t know where was best to post this since it is kind of in two places.

Referencing Add a “refresh counter” to the dashboard About screen and your drafted PR Invalidate the PHP opcache when files are upgraded.

Migrating with default setup:

Migrating with new build:

Both tests were on same server managed by Laravel Forge using WP 5.3.2.


So it looks like it was the same issue (opcache) and that probably fixes it :tada:

Just to be sure, does the classicpress_version error happen every time you do the migration, and it never happens with the new build?

Thanks for testing again!


Tested this morning, 3 times with each, got the same results as above :partying_face: