• Hello,

    in wp-admin, when the user is Editor, Contributor (everything lower than Administrator), your plugin generates many PHP errors and warning to WP-admin area.

    Like

    Warning: Undefined array key 1 in /wp-content/plugins/before-after-image-comparison-slider-for-elementor/before-after-image-comparison-slider-for-elementor.php on line 110

    Warning: Undefined array key 2 in /wp-content/plugins/before-after-image-comparison-slider-for-elementor/before-after-image-comparison-slider-for-elementor.php on line 111

    Warning: Undefined array key 4 in /wp-content/plugins/before-after-image-comparison-slider-for-elementor/before-after-image-comparison-slider-for-elementor.php on line 112

    Warning: Undefined array key 5 in /wp-content/plugins/before-after-image-comparison-slider-for-elementor/before-after-image-comparison-slider-for-elementor.php on line 113

    Warning: Trying to access array offset on value of type null in /wp-admin/includes/plugin.php on line 2010

    Warning: Trying to access array offset on value of type null in /wp-admin/includes/plugin.php on line 2010

    Warning: Trying to access array offset on value of type null in /wp-admin/includes/plugin.php on line 2010

    Warning: Trying to access array offset on value of type null in /wp-admin/includes/plugin.php on line 2010

    Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/before-after-image-comparison-slider-for-elementor/before-after-image-comparison-slider-for-elementor.php:110) in /wp-includes/functions.php on line 7168

    Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/before-after-image-comparison-slider-for-elementor/before-after-image-comparison-slider-for-elementor.php:110) in /wp-includes/functions.php on line 7144

    Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/before-after-image-comparison-slider-for-elementor/before-after-image-comparison-slider-for-elementor.php:110) in /wp-admin/admin-header.php on line 14

    Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/before-after-image-comparison-slider-for-elementor/before-after-image-comparison-slider-for-elementor.php:110) in /wp-includes/option.php on line 1740

    Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/before-after-image-comparison-slider-for-elementor/before-after-image-comparison-slider-for-elementor.php:110) in /wp-includes/option.php on line 1741

    Warning: Trying to access array offset on value of type null in /wp-admin/includes/plugin.php on line 2010

    Warning: Trying to access array offset on value of type null in /wp-admin/includes/plugin.php on line 2010

    Warning: Trying to access array offset on value of type null in /wp-admin/includes/plugin.php on line 2010

    Warning: Trying to access array offset on value of type null in /wp-admin/includes/plugin.php on line 2010

    Only disabling display errros work, but could you fix it, please?

The topic ‘PHP errors when user is NOT admin’ is closed to new replies.