• Resolved jurajk

    (@jurajk)


    When i activate your plugin, warnings and notices break image display. I know i can just turn off error reporting, but it creates problems during development.

    ( ! ) Notice: Use of undefined constant SILENCE - assumed 'SILENCE' in /data/web/dev.webikon.sk/web/techbox/wp-content/plugins/adaptive-images/adaptive-images-script.php on line 804
    Call Stack
    #	Time	Memory	Function	Location
    1	0.0006	335328	{main}( )	../adaptive-images-script.php:0
    
    ( ! ) Notice: Undefined variable: browser_cache in /data/web/dev.webikon.sk/web/techbox/wp-content/plugins/adaptive-images/adaptive-images-script.php on line 891
    Call Stack
    #	Time	Memory	Function	Location
    1	0.0006	335328	{main}( )	../adaptive-images-script.php:0
    
    ( ! ) Warning: Cannot modify header information - headers already sent by (output started at /data/web/dev.webikon.sk/web/techbox/wp-content/plugins/adaptive-images/adaptive-images-script.php:804) in /data/web/dev.webikon.sk/web/techbox/wp-content/plugins/adaptive-images/adaptive-images-script.php on line 414
    Call Stack
    #	Time	Memory	Function	Location
    1	0.0006	335328	{main}( )	../adaptive-images-script.php:0
    2	0.0009	342288	adaptive_images_script_send_image( )	../adaptive-images-script.php:891
    3	0.0009	342544	header ( )	../adaptive-images-script.php:414
    
    ( ! ) Warning: Cannot modify header information - headers already sent by (output started at /data/web/dev.webikon.sk/web/techbox/wp-content/plugins/adaptive-images/adaptive-images-script.php:804) in /data/web/dev.webikon.sk/web/techbox/wp-content/plugins/adaptive-images/adaptive-images-script.php on line 433
    Call Stack
    #	Time	Memory	Function	Location
    1	0.0006	335328	{main}( )	../adaptive-images-script.php:0
    2	0.0009	342288	adaptive_images_script_send_image( )	../adaptive-images-script.php:891
    3	0.0010	342584	header ( )	../adaptive-images-script.php:433
    
    ( ! ) Warning: Cannot modify header information - headers already sent by (output started at /data/web/dev.webikon.sk/web/techbox/wp-content/plugins/adaptive-images/adaptive-images-script.php:804) in /data/web/dev.webikon.sk/web/techbox/wp-content/plugins/adaptive-images/adaptive-images-script.php on line 439
    Call Stack
    #	Time	Memory	Function	Location
    1	0.0006	335328	{main}( )	../adaptive-images-script.php:0
    2	0.0009	342288	adaptive_images_script_send_image( )	../adaptive-images-script.php:891
    3	0.0010	342560	header ( )	../adaptive-images-script.php:439

    https://wordpress.org/plugins/adaptive-images/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Takis Bouyouris

    (@nevma)

    Hi there, my friend,

    Thank you for pointing this out! You probably have full error reporting enabled to see these messages, but you are right they should be prevented. I will fix them ASAP. 🙂

    Cheers,
    Takis

    Plugin Author Takis Bouyouris

    (@nevma)

    I am preparing a bug fixing version 0.6.3 which I will release shortly! Please, do let me know if the errors have been fixed.

    Thank you very much!

    Cheers,
    Takis

    Plugin Author Takis Bouyouris

    (@nevma)

    Hello, again,

    I have just released version 0.6.3 which I believe fixes this problem. Please do let me know if everything is OK!

    Cheers,
    Takis

    Thread Starter jurajk

    (@jurajk)

    Hello Takis,

    it seems everything is fine and adaptive images work with debugging! thanks very much for the speedy fix.

    if you are a perfectionist though, here’s what i get when i click on print diagnostics:

    ( ! ) Warning: Invalid argument supplied for foreach() in /data/web/dev.webikon.sk/web/techbox/wp-content/plugins/adaptive-images/adaptive-images-debug.php on line 267
    Call Stack
    #	Time	Memory	Function	Location
    1	0.0005	360008	{main}( )	../options-general.php:0
    2	0.0008	432088	require_once( '/data/web/dev.webikon.sk/web/techbox/wp-admin/admin.php' )	../options-general.php:10
    3	0.4438	33022968	require_once( '/data/web/dev.webikon.sk/web/techbox/wp-admin/admin-header.php' )	../admin.php:228
    4	0.4593	33143776	do_action( )	../admin-header.php:130
    5	0.4593	33145376	call_user_func_array ( )	../plugin.php:503
    6	0.4593	33145552	adaptive_images_admin_settings_actions( )	../plugin.php:503
    7	0.4594	33146472	adaptive_images_debug_diagnostic_info( )	../adaptive-images-admin.php:827

    this however does not affect the overall functionality.

    thanks again for you support, your plugin is perfect!

    Plugin Author Takis Bouyouris

    (@nevma)

    This HAS to be fixed, too! 🙂

    Thank you very much for your recommendations, my friend.

    Cheers,
    Takis

    Thread Starter jurajk

    (@jurajk)

    hehe

    take care and good luck!

    Plugin Author Takis Bouyouris

    (@nevma)

    🙂 you, too!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Plugin generates warnings and notices – and breaks sent data’ is closed to new replies.