wpsolr and json error
-
Hello Pascal,
I have this error when I try to synchronize my index to my Solr server.
<br /> <b>Notice</b>: Trying to get property of non-object in <b>/var/www/centralecsn/docs/wp-content/plugins/wpsolr-search-engine/classes/solr/wpsolr-index-solr-client.php</b> on line <b>506</b><br /> <br /> <b>Notice</b>: Trying to get property of non-object in <b>/var/www/centralecsn/docs/wp-content/plugins/wpsolr-search-engine/classes/solr/wpsolr-index-solr-client.php</b> on line <b>507</b><br />
It seems related to these 2 lines of code in wpsolr-index-solr-client.php:
$pauthor = isset( $pauth_info ) ? $pauth_info->display_name : '';? $pauthor_s = isset( $pauth_info ) ? get_author_posts_url( $pauth_info->ID, $pauth_info->user_nicename ) : '';
Although the indexing seems to churn along, I’m not sure what to think here.
Cheers
-Emmanuel
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘wpsolr and json error’ is closed to new replies.