• Resolved kpl

    (@kpl)


    WPSOLR-PRO does not create an index. On Tab 3 it shows an error notice:
    Error on line 624 of file /###/username/wp-content/plugins/wpsolr-pro/wpsolr-core/classes/engines/wpsolr-abstract-index-client.php: Trying to get property of non-object

    It seams that WPSOLR cannot find any data in $pauth_info->display_name.

    How can I fix the error? Or is there another reason for stopping index creating?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WPSolr free

    (@wpsolr)

    Replace lines 624 and 625 with:

    $pauthor    = isset( $pauth_info ) && isset( $pauth_info->display_name ) ? $pauth_info->display_name : '';
    $pauthor_s  = isset( $pauth_info ) && isset( $pauth_info->user_nicename ) ? get_author_posts_url( $pauth_info->ID, $pauth_info->user_nicename ) : '';

    I’ll deliver a new release in the next few hours.

    Plugin Author WPSolr free

    (@wpsolr)

    Fixed in new release WPSOLR 17.9

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Trying to get property of non-object’ is closed to new replies.