Huge amount of notices in PHP error log

Forums Development & Updates Huge amount of notices in PHP error log

  • April 19, 2019 at 11:39 am

    Hello,

    We are seeing millions of such entries in our PHP log every day:

    [19-Apr-2019 10:59:14 UTC] PHP Notice: Undefined offset: 0 in /home/thecaller/public_html/wp-content/plugins/schema-and-structured-data-for-wp/admin_section/common-function.php on line 1307

    They produce whole GBs of data daily and is becoming really hard to maintain. Is this something that can be fixed, please?

    Cheers,
    Takis

    April 19, 2019 at 3:07 pm

    That’s really strange. Yes, we will definitely fix this in our next update for sure.  I filed a ticket in the Github at: https://github.com/ahmedkaludi/schema-and-structured-data-for-wp/issues/229

     

    Is this the only error that you see in the error log or are there any such other errors that you see as well?

    April 21, 2019 at 4:57 pm

    Hello,

    Actually you can download our latest error log here https://thecaller.gr/wp-content/debug.log and you can see for yourselves. I think that there are indeed some more notices that concern the Structured Data for WP plugin as well as the AMP for WP plugin. Of course there some other, non-related notices as well.

    Cheers,
    Takis

    April 30, 2019 at 5:57 am

    When I go to that URL, it gives me 403 forbidden error. Can you please add it on Pastebin.com and share the Pastebin link here?

    April 30, 2019 at 2:27 pm

    Hello, and sorry about that!

    However, I think that part of the problem has been solved, because with the latest update I do not see the error that I mentioned in my first comment. So perhaps it has been fixed?

    But now we get a lot of errors mentioning [30-Apr-2019 17:13:10 Europe/Athens] PHP Notice: Η is_amp_endpoint κλήθηκε εσφαλμένα. is_amp_endpoint() is deprecated from AMPforWP, please use ampforwp_is_amp_endpoint instead. Check https://ampforwp.com/tutorials/article/detect-amp-page-function/ for more info Παρακαλώ δείτε τη σελίδα Debugging in WordPress για περισσότερες πληροφορίες. (Το μήνυμα αυτό προστέθηκε στην έκδ. 5.1.1.) in /home/thecaller/public_html/wp-includes/functions.php on line 4667.

    You can see part of our debug log with such messages here https://thecaller.gr/wp-content/debug.log.part. Do you think these PHP notices might too have something to do with your plugin?

    May 3, 2019 at 12:39 pm

    This issue is also fixed but it’s not resolved yet. we will fix this in the next update 1.8

    May 14, 2019 at 11:11 am

    Hi,

    We have version 1.8.2 installed, but we are still getting these notices. And they are millions every day! Whole gigabytes of logs that we have to manually clean.

    Is there something we should do? Is this perhaps a problem of the https://ampforwp.com/?

    May 17, 2019 at 6:58 pm

    Can you please contact me directly on http://structured-data-for-wp.com/contact-us/

    And send me the FTP? I’ll personally check and solve the issue for you