Not Solved Merge System Strict Standards Message on Dry Run
#1
Not Solved
Hello,

I want to do a merge from IP.Board v3.4.2 to the latest and greatest MyBB software. I haven't done anything with the old board in years from an admin perspective, and need to upgrade. MyBB seems like the best option for me at this point.

I installed the software without any issues, which was nice. I backed up the db, and am doing a dry run on the merge system. However, when I navigate to http.../merge/index.php I get this message at the top of the page

Quote:Strict Standards: Declaration of debugErrorHandler::error() should be compatible with errorHandler::error($type, $message, $file = NULL, $line = 0, $allow_output = true) in /home/.../merge/resources/class_error.php on line 76

Does this mean anything, or is there some permission or setting that I need to set or change? Right now, I have the php version set at 5.6 because with IP.Board v3.4.2 that is the most recent php version that can be used for that system to work properly.

Edit:

I figured the issue out. The file /merge/resources/class_error.php had the following in line 34:

function error($type, $message, $file = null, $line = 0)


I updated it to this


function error($type, $message, $file = null, $line = 0, $allow_output = true)


and the message went away.
Reply
#2
Not Solved
While I am here, when I complete the merge and go over everything, what is the best pHp version to be using? Should I change the version before or after performing the merge?
Reply
#3
Not Solved
I'm not familiar with Merge. I'm curious - does it declare strict mode or is that something in your PHP.ini? Did you download it from here? https://mybb.com/download/merge-system/

That one looks potentially a bit dated since it is from 2020.

If that's what you have, you may want to check out Omar G.'s version mentioned here: https://community.mybb.com/thread-244779.html

As far as MyBBB itself, the docs say "PHP ≥ 5.2". I'll add though that PHP 8.2 is the oldest PHP version that is still receiving security updates. I have run MyBB 1.8.41 on 8.2, 8.3, and 8.5. Any plug-ins you use may have their own limitations.

The current myBB running on PHP 8.x will generate a few warnings. On a public server, you should go to Admin CP -> Configuration -> Server and Optimization Options and set "Error Type Medium" to "Hide Errors and Warnings" so users don't see them. I think many of the things that are now warnings by default in PHP 8.x are what you used to get warned about by declaring STRICT in earlier versions of PHP.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)