Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • thank you. I really love your plugin I have made an extensive use of it in my next realise for a private website. Only missed this part and it works (now that that I changed into class=”fancybox-inline”).

    So the final solution is to use this line after each reload:

    function fancybox_reload(){
    
    	jQuery(document).trigger('gform_post_render');
    }

    (with the .10 version which is still being developed at the moment. )

    nice to hear that you were working on it. Sorry for not guessing about the Dev version.

    Sadly the problem seems different, right from the beginning I get “The requested content cannot be loaded. Please try again later.”

    In Media Settings, I selected
    – Images
    – Inline content

    When I switch back to the latest sable version it works again (before Ajax load new posts)

    chriscatfr

    (@chriscatfr)

    thank you for helping

    I created a minimum website for you. To make it easier

    https://wp-tests.gonzofamily.com/
    login is wp-tests and password same.

    Test :
    1- go to https://wp-tests.gonzofamily.com/
    2- notice how easy-Fancybox works properly, on the 2 posts when you click on their title
    3- change DISPLAY ITEMS to 3 or 4, fancybox won’t work any more for any of the posts (I reload all of them instead of just adding, for good reasons)

    NB: I reload with Ajax only when DISPLAY ITEMS is increased, not decreased. So Fancybox still works when I decrease the number, and I lost it as soon as I increase the number again.

    You will want to have a look at JavaScript. It’s in /wp-content/themes/cjg-wp-theme-tests/js/wp-tests.js

    Hope you can help. I saw so many posts on the internet, the solution is never on the client side.

    chriscatfr

    (@chriscatfr)

    I just did, nothing changed. And no JS errors.
    I’m using the latest Browsers

    chriscatfr

    (@chriscatfr)

    Thank you it seems pretty clear.

    I must say that I have no idea how to identify the event we could use in my case.

    I’m think I use the most common way for Ajax in WordPress, using the builtin way

    Do you think you could tell me? my browser code follows:

    function item_load(e){
    
    	loading_start();
    
    	jQuery.ajax({
    		url: ajax_var.url,
    		data: {
    			action: 'posts',
    			offset: first_item_shown,
    			nb_posts: posts_per_page,
    			vendu: show_ventes,
    			dispo: show_dispo,
    		},
    		complete: function(xhr){
    			if(xhr.responseText){
    				reload_screen(xhr.responseText);
    				loading_stop();
    			}
    			else {
    				jQuery('<p>No more items available</p>').insertAfter(jQuery('article').last());
    			}
    		},
    		error: function(jqXHR, textStatus, errorThrown){
    				loading_error(textStatus, errorThrown);
    		}
    	});
    
    	e.preventDefault();
    }

    the 4 following functions are mine

    loading_start();
    reload_screen(xhr.responseText);
    loading_stop();
    loading_error(textStatus, errorThrown);

    Can’t I just call a Fancybox function like ‘init()’ ‘reload()’ in one of them?

    chriscatfr

    (@chriscatfr)

    So what?

    I didn’t understand how to make easy fancybox “refire”. Sorry.

    I’m using a lot of JS and Ajax, I could launch refire() anywhere after a update of the page, if only I knew how…

    Thread Starter chriscatfr

    (@chriscatfr)

    Thank you, I can’t see the Notice messages any more.

    And thank you for your plugin, in first place.

    Thread Starter chriscatfr

    (@chriscatfr)

    You are right, here is with Version 1.3.4.10dev13

    There are no Notices on the website side any more.

    On the /wp-admin/ most are the same (125 lines of notices), but can’t deal with it right now sorry, here they all are:

    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 288
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 293
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 293
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 319
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 330
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 330
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 293
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 288
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: default in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 341
    Notice: Undefined index: default in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 341
    Notice: Undefined index: default in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 341
    Notice: Undefined index: default in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 353
    Notice: Undefined index: default in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 353
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 288
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 345
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 288
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 357
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 293
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 288
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 288
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 364
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 288
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 364
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 288
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 364
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 288
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 288
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 303
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 310
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 288
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 318
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 357
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: status in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 287
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 303
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 310
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 293
    Thread Starter chriscatfr

    (@chriscatfr)

    can’t understand why they disappeared. but they are back… can’t understand either why…

    Thread Starter chriscatfr

    (@chriscatfr)

    I forgot the ones on the top :

    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 351
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 351
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 351
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 351
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 351
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 351
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 351
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 351
    Notice: Undefined index: id in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 351

    Sorry for the duplicates, but it let you see how annoying it was ??

    Thread Starter chriscatfr

    (@chriscatfr)

    thank you.

    I installed the developers version. But surprisingly, even on the previous version I had a deal less numerous Notices today on /wp-admin/options-media.php

    After the update, here are some left:

    NOTICE: wp-content/plugins/easy-fancybox/easy-fancybox.php:351 - Undefined index: id
    NOTICE: wp-content/plugins/easy-fancybox/easy-fancybox.php:83 - Undefined index: hide
    NOTICE: wp-content/plugins/easy-fancybox/easy-fancybox.php:81 - Undefined index: id
    NOTICE: wp-content/plugins/easy-fancybox/easy-fancybox.php:81 - Undefined index: default
    NOTICE: wp-content/plugins/easy-fancybox/easy-fancybox.php:82 - Undefined index: input
    NOTICE: wp-content/plugins/easy-fancybox/easy-fancybox.php:88 - Undefined index: input
    NOTICE: wp-content/plugins/easy-fancybox/easy-fancybox.php:102 - Undefined index: hide
    NOTICE: wp-content/plugins/easy-fancybox/easy-fancybox.php:179 - Undefined index: autoAttributeAlt
    NOTICE: wp-content/plugins/easy-fancybox/easy-fancybox.php:208 - Undefined index: id
    NOTICE: wp-content/plugins/easy-fancybox/easy-fancybox.php:208 - Undefined index: default
    NOTICE: wp-content/plugins/easy-fancybox/easy-fancybox.php:209 - Undefined index: input
    NOTICE: wp-content/plugins/easy-fancybox/easy-fancybox.php:210 - Undefined index: hide
    NOTICE: wp-content/plugins/easy-fancybox/easy-fancybox.php:211 - Undefined index: noquotes

    I could not let it go, so I installed your Developer version on an other website and turned on “WP-DEBUG”, again all the Notices were back in Settings -> Media. Many are the same actually, but nonetheless showing many times:

    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 276
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 276
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 276
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 271 Size
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 328
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 271
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 271
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 271
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 328
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 328
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 271
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 271
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 331
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 276
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 271
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: title in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 301
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 271
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 331
    Notice: Undefined index: input in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 271
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 331
    Notice: Undefined index: description in /wp-content/plugins/easy-fancybox/easy-fancybox.php on line 276

    Hope it will help. And thank you for your plug in

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