Support » Plugin: Ninja Forms - The Easy and Powerful Forms Builder » PHP warning on NF 3.1.1

  • Resolved tatutre

    (@tatutre)



    Hi,

    PHP logs show this error for the plugin:

    [07-May-2017 15:45:00 UTC] PHP Warning: preg_match_all() expects parameter 2 to be string, array given in /data/wordpress/htdocs/wp-content/plugins/ninja-forms/includes/MergeTags/WP.php on line 48

Viewing 4 replies - 1 through 4 (of 4 total)
  • oh, and this also:
    [07-May-2017 15:45:00 UTC] PHP Notice: Undefined index: tag in /data/wordpress/htdocs/wp-content/plugins/ninja-forms/includes/Abstracts/MergeTags.php on line 45

    Plugin Author klhall1987

    (@klhall1987)

    Hey Tatuture,

    I’m so sorry to hear you are experiencing this. I just tried to reproduce this on my own installs and wasn’t able to do so. We want to help you get to the bottom of this so here are some things that should help you track it down. 

    – Try deactivating all your plugins that are not for Ninja Forms and switching to a default WordPress theme like Twenty Sixteen. If your issue goes away there was a conflict with one of these. Reactivate them one at a time until the issue returns and that will tell you exactly what the issue was.

    – If that doesn’t resolve your issue you will need to submit a ticket to our support team(https://ninjaforms.com/contact/)

    Thanks,

    Kenny
    WP Ninjas, LLC

    There are two other errors occurring.

    PHP Unknown: [8] Trying to get property of non-object in /public_html/wp-content/plugins/ninja-forms/includes/Admin/CPT/Submission.php on line 294

    PHP Unknown: [8] Trying to get property of non-object in /public_html/wp-content/plugins/ninja-forms/includes/Database/Models/Submission.php on line 33

    It seems to be related to having strict error reporting enabled, causing these sorts of errors to stop the execution.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP warning on NF 3.1.1’ is closed to new replies.