• Resolved dpoakaspine

    (@dpoakaspine)


    
    Fatal error
    : Uncaught Error: Cannot use object of type WP_Tax_Query as array in /www/htdocs/w0149bf0/putt.io/wp-content/plugins/polylang/include/query.php:91 Stack trace: #0 /www/htdocs/w0149bf0/putt.io/wp-content/plugins/polylang/include/query.php(152): PLL_Query->set_language(Object(PLL_Language)) #1 /www/htdocs/w0149bf0/putt.io/wp-content/plugins/polylang/frontend/frontend.php(116): PLL_Query->filter_query(Object(PLL_Language)) #2 /www/htdocs/w0149bf0/putt.io/wp-includes/class-wp-hook.php(298): PLL_Frontend->parse_query(Object(WP_Query)) #3 /www/htdocs/w0149bf0/putt.io/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #4 /www/htdocs/w0149bf0/putt.io/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #5 /www/htdocs/w0149bf0/putt.io/wp-includes/class-wp-query.php(1055): do_action_ref_array('parse_query', Array) #6 /www/htdocs/w0149bf0/putt.io/wp-includes/class-wp-query.php(1670): WP_Query->parse_query() #7 /www/htdocs/w0149bf0/putt.io/wp-includes/class-wp-query.php(3248): WP_Query->get_posts() # in
    /www/htdocs/w0149bf0/putt.io/wp-content/plugins/polylang/include/query.php
    on line
    91
Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter dpoakaspine

    (@dpoakaspine)

    deactivated Schema, everything is fine. WP 4.8.2

    Plugin Author Hesham Zebida

    (@hishaman)

    I’ve installed Polylang on my test site (great plugin by the way), it doesn’t trigger a single error, Schema as well!

    Where you got the error? on plugin activation? in the back-end? front-end? or on a specific page?

    The error you mentioned from the log doesn’t tell much about the issue and how Schema cause it, so this makes it hard to investigate.

    Can you please look for anything related to Schema so we can track the issue? Maybe more details in the error?

    Thread Starter dpoakaspine

    (@dpoakaspine)

    This is strange since whenever I activate Schema the error occurs on the frontend. I just activated Schema on https://putt.io so you can see the error. The only plugins I have activated right now are Polylang and Schema

    Thread Starter dpoakaspine

    (@dpoakaspine)

    and the error occurred after updating Schema

    Thread Starter dpoakaspine

    (@dpoakaspine)

    functions.php is empty btw

    Thread Starter dpoakaspine

    (@dpoakaspine)

    The bug seems to occur with the wp_head() function.

    Thread Starter dpoakaspine

    (@dpoakaspine)

    there seems to be a conflict in schema_wp_output_blog and polylang

    Thread Starter dpoakaspine

    (@dpoakaspine)

    hunted it down to this line: $blog_query_string = isset($GLOBALS['wp_query']) ? $GLOBALS['wp_query'] : array(); in schema_wp_get_blog_json in /includes/json/blog.php

    Plugin Author Hesham Zebida

    (@hishaman)

    Many thanks.

    I got it now, give me a couple of hours and I will get this solved.

    Thread Starter dpoakaspine

    (@dpoakaspine)

    No problem. Thank you.

    Plugin Author Hesham Zebida

    (@hishaman)

    Ok, so I’ve updated the plugin files here at wp.org but didn’t pump version, so you aren’t getting notification update in your site dashboard.

    So, practically… delete the plugin on your site, then install a fresh copy -again- to get the fix.

    Let me know how it goes.

    Thread Starter dpoakaspine

    (@dpoakaspine)

    Everything is working fine now. Thank you.

    Plugin Author Hesham Zebida

    (@hishaman)

    Good to hear , thanks.

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

The topic ‘last version v1.6.9.5 broke Polylang 2.2.3’ is closed to new replies.