[resolved] [Plugin: WordPress Mobile Pack] Relative links cause parse error (2 posts)

  1. parrothead
    Posted 6 years ago #

    This is just FYI for others who may have this problem.

    Relative links like this: href="../images/myimage.jpg" that work in the desktop site, cause parse error warnings like these when in the mobile site:

    Warning: array_filter() [function.array-filter]: The second argument, 'Array', should be a valid callback in /home/tulsaweb/public_html/wordpress/wp-content/plugins/wordpress-mobile-pack/plugins/wpmp_transcoder/wpmp_transcoder.php on line 363
    Warning: implode() [function.implode]: Invalid arguments passed in /home/tulsaweb/public_html/wordpress/wp-content/plugins/wordpress-mobile-pack/plugins/wpmp_transcoder/wpmp_transcoder.php on line 389

    The page renders ok, but the warnings are included at the top of the page.

    I resolved the issue by using absolute addresses. eg.: href="http://mydomain.com/images/myimage.jpg"

  2. techdog
    Posted 5 years ago #

    Found the problem - 2 images were uploaded/added to pages using relative links.

Topic Closed

This topic has been closed to new replies.

About this Topic