How can I resolve an error on WordPress after PHP update

  1. re upload wp-install & wp-include folders

  2. Ensure WP_CONTENT_DIR is defined in your wp-config.php file. It will be the path to your wp-content directory.

    define(‘WP_CONTENT_DIR’, ‘/path/to/wordpress/wp-content’);

https://wordpress.stackexchange.com/a/369614/87704

Credit : @cloudcreatordotio

tech