KIA Subtitle
[resolved] KIA subtitle ssl errors (8 posts)

  1. nava_development
    Posted 1 year ago #


    I have installed KIA subtitle in a site I am developing,
    If I use the site normally it works fine, but when I try to use SSL for login and certain pages it does not work.

    If I set the debug options I start receiving the following errors;

    "Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method KIA_Subtitle::load_textdomain() should not be called statically in /Users/myUser/Sites/mySite/wp-includes/plugin.php on line 429"

    "Warning: Cannot modify header information - headers already sent by (output started at /Users/myUser/Sites/mySite/wp-includes/plugin.php:429) in /Users/myUser/Sites/mySite/wp-login.php on line 421."

    If I disable KIA Subtitle it works fine again.

    I am testing it in a MAMP setup with the latest version of the plugin (1.5.2)

    Any suggestion on how to solve this issue.



  2. helgatheviking
    Plugin Author

    Posted 1 year ago #

    Is this still a problem? I probably need to change my local environment to test, but I am using PHP 5.4.16 on my local WAMP server.

  3. another-webmaster
    Posted 1 year ago #

    First of all, great plugin!

    The only "nasty" is, the logfile which grows (every few seconds 7 lines is a lot!) because that issue ->Strict Standards: bla bla

    Would be nice if you could find time to solve it Helga.

  4. helgatheviking
    Plugin Author

    Posted 1 year ago #

    Would either/both of you do me a favor and test out this version:

    Please let me know if that solves the problem and I will push the fix to the WordPress repository.

  5. another-webmaster
    Posted 1 year ago #

    Thank you for the fast responce!
    Result logfile showing:
    Notice: register_uninstall_hook was called <strong>incorrectly</strong>. Only a static class method or function can be used in an uninstall hook. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.1.) in wp-includes\functions.php on line 3049

  6. helgatheviking
    Plugin Author

    Posted 1 year ago #

    Ooops. Change

    register_uninstall_hook( __FILE__, array( $this, 'delete_plugin_options' ) );


    register_uninstall_hook( __FILE__, array( __CLASS__, 'delete_plugin_options' ) );

    or just re-download from above link.

  7. another-webmaster
    Posted 1 year ago #


    Didn't download the plugin from github again but just replaced it with correct code. Seems to works as belongs.

    Thank you for the amasing fast support/update.(and for the plugin ofcourse, because that is where I went for!)

    I can't mark it as solved else I would.

  8. helgatheviking
    Plugin Author

    Posted 1 year ago #

    Since the original post was 2 months old, I don't know if I would call that amazingly fast. ;) You just happened to catch me when I was procrastinating what I should be working on.

    Pushing out the update now, so this should be resolved for everyone.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • KIA Subtitle
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic