• Resolved rafael1338

    (@rafael1338)


    Hello!

    I have this error:

    [21-Jul-2016 13:23:34 UTC] Aúncios Avan?ados Erro: content injection error for placement “meio-do-post”: LibXMLError Object
    (
    [level] => 2
    [code] => 76
    [column] => 13
    [message] => Unexpected end tag : strong

    [file] =>
    [line] => 409
    )

    [21-Jul-2016 13:23:37 UTC] Aúncios Avan?ados Erro: content injection error for placement "meio-do-post": LibXMLError Object
    (
    [level] => 2
    [code] => 76
    [column] => 1208
    [message] => Unexpected end tag : p

    [file] =>
    [line] => 1
    )

    Help me!

    https://www.ads-software.com/plugins/advanced-ads/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Thomas Maier

    (@webzunft)

    Hi rafael1338,

    these errors are only logged when WP_DEBUG is enabled and they are indicating possible issues with the content injection. If all your ads in the content are showing up correctly then please ignore it. If there is a reason why you can’t then please reach out through https://wpadvancedads.com/support/ to share them with me.

    Thanks
    Thomas

    Plugin Author Thomas Maier

    (@webzunft)

    I am going to change the error logging in the next version to only show when an admin user is visiting the frontend, so that this can still be used for debugging purposes but would not spam the logs.

    Current and very satisfied Advanced Ads Pro client.

    On 2 different development servers (php v5.59 and php v7.08), I see similar messages in debug.log.

    On production site, the Google Adsense appears OK for URLs which trigger the libxml message.

    When I crawl a development server (100k URLs), 10k message entries are logged. Of the 10k logged messages, there are 109 unique libxml messages.

    70% of the logged messages = “Unexpected end tag : p”.
    When I check post content for a URL which triggers the message, there are no p tags (open nor closed).

    18% of the logged messages = “Tag o:p invalid”

    Should I be concerned with the amount of logged messages?

    Plugin Author Thomas Maier

    (@webzunft)

    Hi Paul,

    please don’t be concerned. The next version will also only log such events for admin users, so the error log doesn‘t get spammed like this anymore.

    I am going to publish that version after my vacation in about a week.

    Thomas

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Content injection error for placement’ is closed to new replies.