• Resolved meylodie

    (@meylodie)


    Hello, 
    I activated the plugin in one sub-domain of my WP network, and once in the settings section, it triggers:

    Deprecated: strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /homepages/13/d4298888195/htdocs/citrotux.org/htdocs/wp-admin/admin-header.php on line 41

    Then when validating the "test mode", it triggers several:
    Deprecated: Creation of dynamic property AntibotsWPSettings\OptionPageBuilderTabbed::$antibot_tabs is deprecated in /homepages/13/d4298888195/htdocs/citrotux.org/htdocs/wp-content/plugins/antibots/settings/page-builders.php on line 179

    Warning: Cannot modify header information - headers already sent by (output started at /homepages/13/d4298888195/htdocs/citrotux.org/htdocs/wp-content/plugins/antibots/settings/page-builders.php:179) in /homepages/13/d4298888195/htdocs/citrotux.org/htdocs/wp-includes/functions.php on line 7168

    Warning: Cannot modify header information - headers already sent by (output started at /homepages/13/d4298888195/htdocs/citrotux.org/htdocs/wp-content/plugins/antibots/settings/page-builders.php:179) in /homepages/13/d4298888195/htdocs/citrotux.org/htdocs/wp-includes/functions.php on line 7144

    Warning: Cannot modify header information - headers already sent by (output started at /homepages/13/d4298888195/htdocs/citrotux.org/htdocs/wp-content/plugins/antibots/settings/page-builders.php:179) in /homepages/13/d4298888195/htdocs/citrotux.org/htdocs/wp-includes/pluggable.php on line 1450

    Warning: Cannot modify header information - headers already sent by (output started at /homepages/13/d4298888195/htdocs/citrotux.org/htdocs/wp-content/plugins/antibots/settings/page-builders.php:179) in /homepages/13/d4298888195/htdocs/citrotux.org/htdocs/wp-includes/pluggable.php on line 1453

    It does not seem to show on the public pages, it appears in the administration board only. (I made sure no cache is active, and checked in 2 different web browsers).My WP version is the latest stable available, so 6.8.2 right now.Is it possible to fix it?

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author sminozzi

    (@sminozzi)

    Hi Meylodie,

    I will check monday for the 2 first deprecated warning and let you know. This does not prevent the plugin from working.

    About the “The Warning: Cannot modify header info…” :

    This warning indicates that another plugin sent HTTP headers too early, preventing the “Anti Bots” plugin from blocking malicious visits. Headers are used to control redirects, cookies, and caching, and if sent prematurely, they disrupt the normal plugin execution flow.

    Why It Happens:

    A conflicting plugin or theme outputs data or calls header()/setcookie() too soon.
    Common culprits include caching, redirection, or optimization plugins.
    Whitespace or characters before/after PHP tags  can also cause this.
    Impact:

    How to Fix:

    Identify the conflicting plugin by deactivating others one by one.
    Check the theme by switching to a default WordPress theme temporarily.
    Contact support for the problematic plugin if identified.

    Please, let me know if that works.

    Regards,

    Bill

    Thread Starter meylodie

    (@meylodie)

    Hello, thank you for your answer.

    I tried to deactivate the different plugins, until only Antibot was left, I also renamed “cache” directory to “cache-back” and same for another cache file in the wp-content, using an SFTP client. I didn’t do the theme, because it would be too much work taking notes of all the custom options and restoring them.
    So far, nothing changed : each time I click to “Save the modifications” in the “General Settings” tab, (with the options “test” and “4 weeks”, it redirects from : “*/wp-admin/admin.php?page=settings-anti-bots&tab=general_settings” to : the page “wp-admin/options.php” where the same lines are shown:

    Deprecated: Creation of dynamic property AntibotsWPSettings\OptionPageBuilderTabbed::$antibot_tabs is deprecated in /homepages/13/d4298888195/htdocs/citrotux.org/htdocs/wp-content/plugins/antibots/settings/page-builders.php on line 179

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/13/d4298888195/htdocs/citrotux.org/htdocs/wp-content/plugins/antibots/settings/page-builders.php:179) in /homepages/13/d4298888195/htdocs/citrotux.org/htdocs/wp-includes/functions.php on line 7168

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/13/d4298888195/htdocs/citrotux.org/htdocs/wp-content/plugins/antibots/settings/page-builders.php:179) in /homepages/13/d4298888195/htdocs/citrotux.org/htdocs/wp-includes/functions.php on line 7144

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/13/d4298888195/htdocs/citrotux.org/htdocs/wp-content/plugins/antibots/settings/page-builders.php:179) in /homepages/13/d4298888195/htdocs/citrotux.org/htdocs/wp-includes/pluggable.php on line 1450

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/13/d4298888195/htdocs/citrotux.org/htdocs/wp-content/plugins/antibots/settings/page-builders.php:179) in /homepages/13/d4298888195/htdocs/citrotux.org/htdocs/wp-includes/pluggable.php on line 1453

    The theme I am using is https://wordpress.org/themes/chronus/.
    I have used it for quite some time without hickups, starting with the blog
    https://meets.citrotux.org.

    Do these warnings prevent Antibot from functionning, or do not any of them prevent it from working? (I won’t spend more time on it… and I still have to reactivate protection plugins on the other subsites as they used to protect the WP network as a whole)

    • This reply was modified 6 months ago by meylodie.
    Plugin Author sminozzi

    (@sminozzi)

    Hi,


    I will run tests tomorrow.

    Suggestions:

    1) Install our plugin site-checkup and run all steps.

    https://wordpress.org/plugins/site-checkup/

    2) After install, if a red button shows up on your top bar, click to open. If you can see a chat, run auto checkup server and auto checkup errors.

    If you have another site with another theme, run a test of our plugin antibots.

    After that, please let me know.

    Regards,

    Bill

    Plugin Author sminozzi

    (@sminozzi)

    Please, let me know your PHP version.

    Plugin Author sminozzi

    (@sminozzi)

    Hi Meylodie,
    I have fixed all issues and uploaded version 1.61. Please update to version 1.61 and let me know if it works properly on your server. After that, I suggest changing WP Debug to false to avoid showing critical information.
    Regards,

    Bill

    Thread Starter meylodie

    (@meylodie)

    Hello Bill,

    I have updated it in two multisites I manage, the second one having a very old theme, but very customized, I thought maybe, after deactivating caches, and removing the related directory and file from the engine, but there are also lots of warnings.


    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the
    complianz-terms-conditions domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /homepages/22/d4298882564/htdocs/orditux/orditux.org/htdocs/wp-includes/functions.php on line 6121

    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the complianz-gdpr domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /homepages/22/d4298882564/htdocs/orditux/orditux.org/htdocs/wp-includes/functions.php on line 6121

    Deprecated: Optional parameter $depth declared before required parameter $output is implicitly treated as a required parameter in /homepages/22/d4298882564/htdocs/orditux/orditux.org/htdocs/wp-content/themes/debut/functions.php on line 323

    Deprecated: Creation of dynamic property AntibotsWPSettings\OptionPageBuilderTabbed::$antibot_tabs is deprecated in /homepages/22/d4298882564/htdocs/orditux/orditux.org/htdocs/wp-content/plugins/antibots/settings/page-builders.php on line 194

    Warning: Cannot modify header information - headers already sent by (output started at /homepages/22/d4298882564/htdocs/orditux/orditux.org/htdocs/wp-includes/functions.php:6121) in /homepages/22/d4298882564/htdocs/orditux/orditux.org/htdocs/wp-includes/functions.php on line 7168

    Warning: Cannot modify header information - headers already sent by (output started at /homepages/22/d4298882564/htdocs/orditux/orditux.org/htdocs/wp-includes/functions.php:6121) in /homepages/22/d4298882564/htdocs/orditux/orditux.org/htdocs/wp-includes/functions.php on line 7144

    Warning: Cannot modify header information - headers already sent by (output started at /homepages/22/d4298882564/htdocs/orditux/orditux.org/htdocs/wp-includes/functions.php:6121) in /homepages/22/d4298882564/htdocs/orditux/orditux.org/htdocs/wp-includes/pluggable.php on line 1450

    Warning: Cannot modify header information - headers already sent by (output started at /homepages/22/d4298882564/htdocs/orditux/orditux.org/htdocs/wp-includes/functions.php:6121) in /homepages/22/d4298882564/htdocs/orditux/orditux.org/htdocs/wp-includes/pluggable.php on line 1453

    I still have to try your site-checkup page.
    In “melodie.citrotux.org”, there is still that:


    You have not told me if these warnings will let Antibot do it’s job, or not ?
    (I know I can move the debug mode from “true” to “false”, I’ll do it later).

    Deprecated: Creation of dynamic property AntibotsWPSettings\OptionPageBuilderTabbed::$antibot_tabs is deprecated in /homepages/13/d4298888195/htdocs/citrotux.org/htdocs/wp-content/plugins/antibots/settings/page-builders.php on line 194

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/13/d4298888195/htdocs/citrotux.org/htdocs/wp-content/plugins/antibots/settings/page-builders.php:194) in /homepages/13/d4298888195/htdocs/citrotux.org/htdocs/wp-includes/functions.php on line 7168

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/13/d4298888195/htdocs/citrotux.org/htdocs/wp-content/plugins/antibots/settings/page-builders.php:194) in /homepages/13/d4298888195/htdocs/citrotux.org/htdocs/wp-includes/functions.php on line 7144

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/13/d4298888195/htdocs/citrotux.org/htdocs/wp-content/plugins/antibots/settings/page-builders.php:194) in /homepages/13/d4298888195/htdocs/citrotux.org/htdocs/wp-includes/pluggable.php on line 1450

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/13/d4298888195/htdocs/citrotux.org/htdocs/wp-content/plugins/antibots/settings/page-builders.php:194) in /homepages/13/d4298888195/htdocs/citrotux.org/htdocs/wp-includes/pluggable.php on line 1453



    You have not told me if these warnings will let Antibot do it’s job, or not ?
    (I know I can move the debug mode from “true” to “false”, I’ll do it later).

    Plugin Author sminozzi

    (@sminozzi)

    Hi Meylodie,

    PHP introduced some changes in version 8.2 that established new rules requiring code modifications.
    These new rules, in WordPress debug mode, warn that in the future, if you update PHP to newer versions, the code might cause errors.
    It’s not urgent but it’s good to fix everything as soon as possible to avoid future surprises.

    I made another change to our plugin to avoid the warning:
    Deprecated: Creation of dynamic property page-builders.php on line 194

    Please, update to version 1.62

    Read the log carefully and pass this line to your theme developer:

    /themes/xxxx/functions.php:323

    Same for the  GDPR plugin, which appears to be sending data to the site header prematurely. This may prevent AntiBots from functioning properly, because when it tries to deny access, another plugin has already improperly granted it.

    I suggest you familiarize yourself with the tools we recommended before to better handle these problems.
    Regards,

    Bill

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Generates warnings or errors with mod debug enabled’ is closed to new replies.