Support » Plugin: KIA Subtitle » KIA subtitle ssl errors

  • Resolved nava_development

    (@nava_development)


    Hello,

    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.

    Thanks.

    http://wordpress.org/plugins/kia-subtitle/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author helgatheviking

    (@helgatheviking)

    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.

    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.

    Plugin Author helgatheviking

    (@helgatheviking)

    Would either/both of you do me a favor and test out this version:
    https://github.com/helgatheviking/KIA-Subtitle/tree/ssl-error-fix

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

    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

    Plugin Author helgatheviking

    (@helgatheviking)

    Ooops. Change

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

    to

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

    or just re-download from above link.

    Chapeau!

    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.

    Plugin Author helgatheviking

    (@helgatheviking)

    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.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘KIA subtitle ssl errors’ is closed to new replies.