• I have one website that has a constant connection Lost message when editing any posts, pages, etc.

    I have narrowed it down to a plugin that I created, but I’m at a loss as to how to debug the plugin to see what in the plugin is causing the issue.

    Can anyone give me some ideas on how to debug the issue?

    Thanks

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

    (@cpaprotna)

    I figured out the exact line of code that is causing the issue, but I’m not sure why….

    wp_register_style('fsga_amember-style', $path);
    //		wp_enqueue_style('fsga_amember-style');

    If I uncomment out the wp_enqueue_style, I get the error. With it commented, no connection error. The $path variable is the full path to a file that exists on our domain, but not within the wordpress install.

    Do I have something wrong with my statement?

Viewing 1 replies (of 1 total)
  • The topic ‘Connection Lost Error’ is closed to new replies.