• Resolved Pierre236

    (@pierreto)


    Hi,

    I have this error :

    [28-Apr-2020 07:28:35 UTC] PHP Warning: Use of undefined constant LOGGED_IN_KEY – assumed ‘LOGGED_IN_KEY’ (this will throw an Error in a future version of PHP) in /home/mywebsite/public_html/wp-content/plugins/ad-inserter/ad-inserter.php on line 9784

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Spacetime

    (@spacetime)

    Hello,

    thanks for the report.
    This constant is normally defined in wp-config.php and was used also in previous versions.

    Please check the file and define missing constants:
    https://www.wpbeginner.com/glossary/security-keys/

    Thread Starter Pierre236

    (@pierreto)

    Hi,

    Thank you!

    I haven’t this key in my wp-config, doon’t know why.

    Thread Starter Pierre236

    (@pierreto)

    My error log file have size of 2gb today, I have deleted it yesterday, then I’m sure is new error, before my error log file d’on’t have this size.

    And I created the secure key and put them on my wp-config.php but I still have same error with new one Nonce key, and error log grow fast!

    Thread Starter Pierre236

    (@pierreto)

    Hi,

    Have change in my php, it’s php 7.3, I return to php 7.2 and the problem is resolved.

    But after that I try to connect to my website and I can’t, then I deleted the security keys and can connect.

    I allready had error few month ago when I try php 7.4, only with your plugin, hope you will be compatible.

    Plugin Author Spacetime

    (@spacetime)

    The plugin is tested with PHP 7.4, nobody reports any problem.

    What errors do you get?

    Thread Starter Pierre236

    (@pierreto)

    I just test, and have the same error I speak about with php 7.3:

    [01-May-2020 09:20:08 UTC] PHP Warning: Use of undefined constant LOGGED_IN_KEY – assumed ‘LOGGED_IN_KEY’ (this will throw an Error in a future version of PHP) in /home/mysite/public_html/wp-content/plugins/ad-inserter/ad-inserter.php on line 9883

    And as I write, if I add security keys on my wp-config.php it don’t change nothing, still have the error and also can’t connect to my website.

    Plugin Author Spacetime

    (@spacetime)

    OK, but it seems that the constant is still not defined.

    Nevertheless, I prepared a version with additional checks:
    https://downloads.www.ads-software.com/plugin/ad-inserter.zip

    Thread Starter Pierre236

    (@pierreto)

    I have another problem, the message for those who use adblock, also appears when adblock is disabled.

    I had disabled it a few weeks ago because of this, and then I tried again and it does it again.

    Plugin Author Spacetime

    (@spacetime)

    Please enable remote debugging and post page address.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘New error after last update’ is closed to new replies.