• Resolved pforce

    (@pforce)


    Hi, sorry for disturbing, but I get wired 404 errors linked to images that no longer exist
    Example:
    https://p-force.com/wp-content/uploads/2016/12/BannerPic1@2x.jpg

    RetinaImagePath.check_2x_variant	@	autoptimize_single_74e9d0e….php:21
    RetinaImage	@	autoptimize_single_74e9d0e….php:21
    context.onload	@	autoptimize_single_74e9d0e….php:13
    load (async)		
    Retina.init	@	autoptimize_single_74e9d0e….php:13
    (anonym)	@	autoptimize_single_74e9d0e….php:25
    (anonym)	@	autoptimize_single_74e9d0e….php:25

    Clearing alle cache on all tools didn’t help.

    When I deactivate Autoptimize it points to: (retina js Version 1.30)
    https://p-force.com/wp-content/themes/djpaolo/panel/components/retinajs/dist/retina.js

    RetinaImagePath.check_2x_variant	@	retina.js:139
    RetinaImage	@	retina.js:148
    context.onload	@	retina.js:54
    load (async)		
    Retina.init	@	retina.js:49
    (anonym)	@	retina.js:180
    (anonym)	@	retina.js:182

    Please help to delete the left over string
    Thank you so much

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

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Adding themes/djpaolo/panel/components/retinajs/dist/retina.js to the comma-separated JS optimization exclusion list should ensure the file is not minified any more, let’s start there maybe? And maybe disable “Async Javascript” for a second as well temporarily?

    Thread Starter pforce

    (@pforce)

    Hi,
    thank you so much for the superfast reply, but these measures didn’t solve the problem unfortunately
    I added
    /jquery/jquery.js, js/jquery/jquery.min.js, themes/djpaolo/panel/components/retinajs/dist/retina.js
    and deactivated Async Javascript

    Any other hints,
    maybe ?

    Thank you

    Thread Starter pforce

    (@pforce)

    Hi;
    Deactivated almost everything
    still persists now with
    following output

    RetinaImagePath.check_2x_variant	@	retina.js?ver=1.3.0:139
    RetinaImage	@	retina.js?ver=1.3.0:148
    context.onload	@	retina.js?ver=1.3.0:54
    load (async)		
    Retina.init	@	retina.js?ver=1.3.0:49
    (anonym)	@	retina.js?ver=1.3.0:180
    (anonym)	@	retina.js?ver=1.3.0:182
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    in that case I would take a step back and First and foremost try to identify what is breaking things by just disabling CSS or JS or HTML or Image optimization (incl. lazyload) to see which one might be causing this?

    (to be clear, I don’t see these request for those X2 images when I test, but I suppose retina JS doesn’t think my screen worthy 😉 )

    Thread Starter pforce

    (@pforce)

    Hi,
    thank you for assisting me further on

    I deactivated everything
    except really simple ssl and your plug in

    Still persists ??

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    and in Autoptimize, did you try disabling JS or CSS or HTML or … options?

    Thread Starter pforce

    (@pforce)

    Hi,
    yes, I even disabled the plug in, in general
    do I have to opt out this prior

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Do you mean the error persists even if AO is off?

    Thread Starter pforce

    (@pforce)

    Hi,
    yes all wp plug ins are now deactivated, except really simple ssl

    if I check through chrome > untersuchen > Netzwerk > XHR

    here is a link of the error screenshot jpg > https://ibb.co/zfYsQDP

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Very weird, I can’t reproduce locally on my laptop, but neither on a MacOSX Safari on browserstack, nor on a webpagetest.org test.

    Might you have some setting in Chrome or an Chrome addon that causes the retina.js logic to behave differently?

    Thread Starter pforce

    (@pforce)

    Hi
    I inspected with FF > https://ibb.co/xXMWfzL

    same

    Thread Starter pforce

    (@pforce)

    Hi,
    I used your link to reproduce
    same
    https://ibb.co/JFH6hn9

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    very weird, jsut re-ran a webpagetest test and still not seeing those .. :-/

    the only thing I can suggest (as the problem is there with and wihtout Autoptimize) is to check in with the theme developer, asking how the retina JS can be disabled (as you don’t seem to have retina-specific images, which are the “X2” versions)?

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘404 XHR Error’ is closed to new replies.