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

    (@akehat)

    after a little research – it is failing in:
    singletons/introspector.php::get_current_post()

    b/c the $_GET is empty…

    why?
    Are there any known plugin conflicts?

    Thread Starter akehat

    (@akehat)

    Another important factor – the server is running lighttpd (not apache).

    Thread Starter akehat

    (@akehat)

    solution is adding this code to the beggining of index.php:

    $question_pos = strpos($_SERVER['REQUEST_URI'], '?');
    if ($question_pos !== false) {
            $question_pos++; // don't want the ?
            $query = substr($_SERVER['REQUEST_URI'], $question_pos);
            parse_str($query, $_GET);
    }

    source:
    ​https://thomashunter.name/blog/wordpress-get-variables-with-lighttpd/

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘can't fetch post’ is closed to new replies.