• Resolved i0n1ca

    (@i0n1ca)


    Hello,
    After the update to version 5.5.2 I got over 2000 lines of errors in error_log (already has 3MB of data).

    PHP Warning: A non-numeric value encountered in public_html/wp-content/plugins/xml-sitemap-feed/inc/functions-sitemap.php on line 528

    These are the lines for the if function. Line 528 is the one with $priority

        // Reduce by age.
        // NOTE : home/blog page gets same treatment as sticky post, i.e. no reduction by age.
        if ( \xmlsf()->timespan > 0 && ! \is_sticky( $post->ID ) && ! \in_array( $post->ID, namespace\get_blogpages(), true ) ) {
            $priority -= $priority * ( \xmlsf()->lastmodified - $post_modified ) / \xmlsf()->timespan;
        }

    I have found another error message:

    PHP Warning: A non-numeric value encountered in /home/ionica/public_html/wp-content/plugins/xml-sitemap-feed/inc/class-sitemap-plugin.php on line 164

    This is the line: \xmlsf()->timespan = \xmlsf()->lastmodified – \get_date_from_gmt( get_firstpostdate( ‘GMT’, $feed[2] ), DATE_W3C );

    • This topic was modified 1 month ago by i0n1ca.
    • This topic was modified 1 month ago by i0n1ca.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.