• Resolved Rahul Rajoria

    (@rahul-rajoria)


    Hello, when I am going to update the plugin it’s gives me error.
    please check I have to deactivate the plugin to remove the error its coming all over the website pages.
    file name: audit_trail_emails.php
    error: Warning: Illegal string offset ‘subject’ in /home1/ajamshaikh/aminfoweb.com/wp-content/plugins/wp-simple-firewall/src/processors/audit_trail_emails.php on line 29
    Right now I have commented this function so the warning is not showing please give me some solution for this:
    public function auditEmailSend( $aEmailParameters ) {
    // some code here
    }

    • This topic was modified 6 years, 11 months ago by Rahul Rajoria.
Viewing 1 replies (of 1 total)
  • Plugin Author Paul

    (@paultgoodchild)

    Shield follows the WordPress conventions and API. We assume that data is of a given format.

    The error you’re receiving is because the data is not of the standard type (in this case, array). This means you have a plugin that is interfering with the data and changing the type (in this case changing it to string).

    We can’t fix this for you. You’ll have to disable each plugin/theme in-turn until you find the one which, after you disable it, the error goes away.

    Then you can contact the developer of that plugin to ensure that when he messes with the wp_mail function that he passes the correct type of data – i.e. array.

Viewing 1 replies (of 1 total)
  • The topic ‘Getting Error On update’ is closed to new replies.