• Hello, i have this error message when i call posts by a specific tag:

    Warning: strtotime() [function.strtotime]: Called with an empty time parameter. in /site/wp-content/plugins/wordpress-seo-pager.php on line 1014

    If i have 3 pages of post under that tag, i will have 3 lines of errors!

    the plugin (WORDPRESS SEO PAGER) line is:
    strtotime($p[(($cnt-1) * $posts_per_page )]->post_date)) . '"';

    this is an error never show befor.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter morfina

    (@morfina)

    no ideas?

    How are you calling posts by a specific tag?

    Looks as though SEO pager is expecting a paramter to use in a function, which it is not getting when you are calling posts by a specific tag.

    Thread Starter morfina

    (@morfina)

    i’m calling posts from a link: …WORDPRESS/ARCHIVES/TAG/TAGNAME/
    The strange thing is that the error message is showed only in pages with earliest post. What is changed? Nothing apparently…

    Thread Starter morfina

    (@morfina)

    resolved:

    add @ before
    strtotime($p[(($cnt-1) * $posts_per_page )]->post_date)) . '"';

    =

    @strtotime($p[(($cnt-1) * $posts_per_page )]->post_date)) . '"';

    it’s work.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warning: strtotime() [function.strtotime]: Called with an empty time parameter.’ is closed to new replies.