Elementor – php error

Home Forums BulletProof Security Pro Elementor – php error

This topic contains 4 replies, has 2 voices, and was last updated by  Mickael 2 months, 1 week ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #37958

    Mickael
    Participant

    Hi !

    The elementor plugin conflicts with two functions of the BPS admin.php file
    How can we fix this?

    PHP Notice: Undefined variable: tag in /wp-content/plugins/bulletproof-security/admin/includes/admin.php on line 733
    PHP Notice: Undefined variable: tag in /wp-content/plugins/bulletproof-security/admin/includes/admin.php on line 703
    
    
    #37959

    AITpro Admin
    Keymaster

    Those php errors are just generic nuisance php errors that you can disregard since they do not cause any issues or problems.  They will eventually be taken care of.  Probably in the next BPS/BPS Pro version releases.  Do you have WP_DEBUG or some other debugging option (in another plugin or theme) turned On?  Elementor is not causing these php errors unless of course you have an Elementor debugging option turned On.

    #37960

    Mickael
    Participant

    Thanks.

    WP_DEBUG is false.

    Yes this problem is not important, except that it is a loop that perpetually fills the log.

    Is it possible to create a filter to prevent the log from this error?

    #37962

    AITpro Admin
    Keymaster

    Now that is odd that it is being logged repeatedly.  You can change your PHP Error Log settings on the P-Security > ini_set Options tab page > Error Logging option > change the option setting to:  E_ERROR|E_WARNING|E_PARSE and click the Save|Enable Options button.  This will log Fatal run-time errors, Run-time warnings (non-fatal errors) and Compile-time parse errors, which are really the only important/critical php errors that you need to log.

    #37968

    Mickael
    Participant

    Ok

    I have a little bit of an exaggeration;)
    It is not in a loop, but rather when these functions are called. So when I check the logs for example.

    I have modified this init_set option directly in my wp-config file.  For the moment…

    Thanks for your support.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.