WordPress was upgraded from 4.9 to 6.0, and the PHP version used was upgraded from 7.0 to 8.0. The whole process and problem solving.

WordPress was upgraded from 4.9 to 6.0, and the PHP version used was upgraded from 7.0 to 8.0. The whole process and problem solving.

step:

1. In the wordpress background, update the program and upgrade from wordpress4.9 to 6.0 online.

The update process will upgrade the wordpress program and database. Everything is done automatically.

2. Update the wordpress plugin

In the plugin management, update the upgradable plugin.

3. WordPress upgrade to 6.0 is complete.

4. Encounter a problem. In the wordpress background, F12console will report QTags is not defined,

Turns out the error was due to the preferential loading of the quicktags script , quicktags.min.js . In WordPress 6 and later, the script was loaded a little later than in previous versions. In previous WordPress versions, the script loaded earlier on the page, so when calling QTags.addButton to add a button, QTags defined and added the button (as expected). FYI : The script is located at:

 /wp-includes/js/quicktags.min.js

In WordPress version 6.0, the Prismatic call…

The post WordPress upgrade from 4.9 to 6.0, using PHP version from 7.0 to 8.0 the whole process and problem solving. first appeared on Lenix Blog .

This article is reprinted from https://blog.p2hp.com/archives/8990
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment