• Resolved spinhead

    (@spinhead)


    This check

    wp doctor check core-update option-blog-public plugin-update theme-update --spotlight

    returns the first 60 lines of source code prior to the expected response. I use this exact command on a couple dozen sites without this unexpected response anywhere else.

    I can’t see what’s different with this site.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Which source code is that exactly that you see there? It could possibly contain a clue to the cause.

    Thread Starter spinhead

    (@spinhead)

    It is returning the first 60 lines of the source code of the referenced site. Just the WordPress code for the site you’d see if you ‘view source’ when you’re at the site.

    Does this also happen with any other wp command? Maybe even if you just call wp?

    To me it sounds more like some component (theme or plugin) of your project is generating an output that is not implemented correctly. This could also have an unfavourable effect in the frontend, depending on the constellation, even if you can’t see it at the moment.

    To find the cause, I would recommend that you first change the theme as a test and rule it out as the cause. If it also happens with a standard theme, deactivate the plugins used.

    Thread Starter spinhead

    (@spinhead)

    sigh. simple obvious solution. it was a plugin. all is working as expected now. thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘wp doctor check returning site source code in addition to expected response’ is closed to new replies.