[Defender Pro] PHP Fatal error: Uncaught Error: [] operator not supported for strings in /pro/con

just wanted to submit this. was working on something else and had debug.log open. saw the following come through, and wanted to report.

[28-Jan-2020 21:54:40 UTC] PHP Fatal error:  Uncaught Error: [] operator not supported for strings in /home/client/public_html/2016/wp-content/plugins/wp-defender/app/module/scan/behavior/pro/content-scan.php:87
Stack trace:
#0 /home/client/public_html/2016/wp-content/plugins/wp-defender/app/module/scan/behavior/pro/content-scan.php(52): WP_Defender\Module\Scan\Behavior\Pro\Content_Scan->scanAFile('/home/client/pub...')
#1 [internal function]: WP_Defender\Module\Scan\Behavior\Pro\Content_Scan->processItemInternal(Array, '/home/client/pub...')
#2 /home/client/public_html/2016/wp-content/plugins/wp-defender/vendor/hammer/base/component.php(216): ReflectionMethod->invokeArgs(Object(WP_Defender\Module\Scan\Behavior\Pro\Content_Scan), Array)
#3 /home/client/public_html/2016/wp-content/plugins/wp-defender/vendor/hammer/queue/queue.php(184): Hammer\Base\Component->__call('processItemInte...', Array)
#4 /home/client/public_html/2016/wp-content/plugins/wp-defender/app/module/scan/component/scan-api.php(258): Hammer\Queue\Queue->processItem()
#5 /home/client/public_html/ in /home/client/public_html/2016/wp-content/plugins/wp-defender/app/module/scan/behavior/pro/content-scan.php on line 87
  • Nithin Ramdas
    • Support Wizard

    Hi splaquet ,

    The above error occurs due to the PHP version 7.1, could I know what’s the current version of PHP you have for the website? Could you please try a version higher than PHP 7.1 ie 7.2 or 7.3 and see whether you still get the same issue or not?

    If you still notice the issue even after upgrading PHP version please do mention the PHP version you are using and share the WP admin and FTP login so that we could check further.

    Since the ticket is public, you can send credentials by using our secure contact form: https://wpmudev.com/contact/#i-have-a-different-question

    – To Mark to my attention, the subject line should contain only: ATTN: Nithin Ramdas
    -WordPress admin username
    -WordPress admin password
    -login URL
    -FTP credentials (host/username/password)
    -link back to this thread for reference
    -any other relevant URLs

    Please do follow up on the ticket once you have sent the above credentials. Have a nice day.

    Kind Regards,
    Nithin

    NOTE: Please don’t share any sensitive information (i.e credentials) in the ticket. Support tickets are publicly visible and everyone will have access to it. Please make sure to use the contact form as mentioned above to share sensitive information.