Viewing 5 reply threads
  • Author
    Posts
    • #2675
      ajayphp
      Member

      Hi,

      i followed your doc for creating plugin
      with sampel code or creating custom post type,
      then while actication it giving Error:
      i also activate your wp-helpers before and disable all xml-rpc etc.

      The plugin generated 1 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

    • #2682
      Steve
      Keymaster

      @ajayphp– Is this two separate issues?
      1) You created a plugin and it gave you an error?
      –Please create a separate ticket for this and post the code for your plugin. What error did you receive?
      2) You activated wp-helpers and checked off xml-rpc and you got another error?
      –I can’t reproduce. What other options do you have checked?

    • #2690
      ajayphp
      Member

      Hi,

      your wp-helper giving error:

      line 382 – following function:
      public static function remove_filter($filter, $tag)

      i put the condition return if calling when loading front
      //AK – remove front end error
      if(!is_admin()){
      return;
      }

      still you have to verify this as this is done temorary as i am not aware of your whole logic .

    • #2691
      ajayphp
      Member

      I created custom post type plugin
      when browse that in admin

      there were error : Warning: extract() expects parameter 1 to be array, null given in /var/www/piklist/wp-content/plugins/wp-helpers/wp-helpers.php on line 390

      wp fresh install

      could you please point out what could be wrong?

    • #2702
      ajayphp
      Member

      Hi,

      I created another plugin with custom post type and activate then it given following error:

      Error:

      The plugin generated 1 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

      Regards,

    • #2703
      Steve
      Keymaster

      @ajayphp– Please deactivate all other plugins except the one you wrote and see if you get the error. Then check your plugin. Most of the time this error occurs because you have characters (including spaces) before or after the opening and closing php tags.

Viewing 5 reply threads
  • You must be logged in to reply to this topic.