• Resolved parrothead

    (@parrothead)


    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/xxxxxxx/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/xxxxxxx/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”

  • The topic ‘[Plugin: WordPress Mobile Pack] Relative links cause parse error’ is closed to new replies.