In addition to the error message, it should also contain the file path and line number. You can locate the error location based on the latter two pieces of information, and then provide the code at that location to confirm whether it is a PHP version issue.