• Hi!

    We just rebuilt our homepage, which is running on WordPress software, and now we get an error message every time we post on the blog-part of our homepage. Our posts also show up with a strange row of numbers, symbols and letters instead of a date. Address: https://www.trilight.eu/news

    I have no idea what has happened, and could not find a post about it in these forums – please help ??

    This is the error message we get when posting:

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘qs_translate’ was given in /www/wp-includes/plugin.php on line 395

    Warning: Cannot modify header information – headers already sent by (output started at /www/wp-includes/plugin.php:395) in /www/wp-includes/pluggable.php on line 897

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter florries

    (@florries)

    Should add – one thing we did was adding a second language to our homepage. This is not online yet, but the function is activated and we are working on it. Can this be the problem?

    I’ve got the same error and wish anyone could help us.
    Thanks

    Well, I had this error, too.
    I did some digging around and found only one appearance of “qs_translate”:
    it is being triggered somewhere around line 257 in this file:
    wp-content/plugin/straker-multilingual-wordpress/straker_hooks.php

    So open that file, find the line that contains:
    add_action('publish_post', 'qs_translate');

    and place two slashes in front of it. This will turn that line of code into a comment. It should now look like this:
    // add_action('publish_post', 'qs_translate');

    Voi-la! You should get no more errors posting new posts.

    Side note: The “qs_translate”-function seems to be part of the (commercial) straker translation services – something most of us don’t use.
    If you do depend on straker doing translations for you, please get in contact with straker for a fix.

    About the weird dates: play around with your settings of the straker plugin:
    backend -> left sidebar -> Settings -> Languages -> Advanced Settings -> Date / Time Conversion…

    Good luck!

    Sawatzki

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Dates appearing strange in posts – error messages when posting’ is closed to new replies.