MyBB-Google-SEO icon indicating copy to clipboard operation
MyBB-Google-SEO copied to clipboard

Not compatible with PHP 7

Open marble34534 opened this issue 7 years ago • 1 comments

In connection with PHP 7, various error messages occur.

Example: Type: 2 File: inc / plugins / google_seo / url.php (Line no. 1100) Message Use of undefined constant THIS_SCRIPT - assumed 'THIS_SCRIPT' (this will throw an error in a future version of PHP)

Please fix it immediately.

Thanks in advance

marble34534 avatar Dec 29 '17 09:12 marble34534

THIS_SCRIPT will be fixed in MyBB, I added a workaround regardless and also fixed another warning. There might still be more. Seems I've been checking arrays in particular in ways PHP doesn't like (anymore). I'll have to do a code review at some point.

frostschutz avatar Apr 01 '18 18:04 frostschutz