MyBB Community Forums

Full Version: Upgrade warning - Use of undefined constant THIS_SCRIPT - assumed 'THIS_SCRIPT' (this
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have installed PHP 7.4.13

Upgrading mybb from 1.8.22 to 1.8.26

I am getting the below errors

Warning [2] Use of undefined constant THIS_SCRIPT - assumed 'THIS_SCRIPT' (this will throw an Error in a future version of PHP) - Line: 108 - File: rootinc\plugins\usersBrowsedTopic.php PHP 7.4.13 (WINNT)
File	Line	Function
rootinc\plugins\usersBrowsedTopic.php	108	errorHandler->error
rootinc\plugins\usersBrowsedTopic.php	31	usersBrowsedTopic->__construct
rootinc\class_plugins.php	38	require_once
rootinc\functions.php	218	pluginSystem->load
rootinc\class_core.php	600	run_shutdown
[PHP]		MyBB->__destruct

1. Delete Users Browsed Topic plugin
2. upgrade
3. install plugin