Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter laxtronic

    (@laxtronic)

    It is not a live site, it a localhost. I am using
    WP_DEBUG for PHP/javascript code written for a child theme.
    (I am changing parameters for flexslider that are
    not made accessible by the parent theme)

    Yes, the plugin should be updated, but the more serious
    problem is that WP_Widget’s warning (not a error) breaks
    the login. If I clear the cache in the browser, I can’t
    log back into the admin panel without turning off WP_DEBUG
    so it can set the login’s cookies. Then go back and turn
    WP_DEBUG back on.

    I believe it is because the warning comes during the
    WP_WIDGET constructor WP_Widget() which is running at
    the init hook. Normal debug messages would come at later
    hooks where the header has been started and the test/set
    of cookies has already been done.

    I have temporarily worked around the problem by locally
    modifying the custom meta widget to use parent::__construct()
    but I believe the wordpress code has a problem independent
    of the plugin.

Viewing 1 replies (of 1 total)