michaeluno / amazon-auto-links

A WordPress plugin that generates links of Amazon products just coming out today. You just pick categories and they appear even in JavaScript disabled browsers.
GNU General Public License v2.0
8 stars 4 forks source link

Stuck on Loading on every page on the plugin #25

Closed JhdChk closed 11 months ago

JhdChk commented 11 months ago

Description

Hi,

I installed the plugin on my WordPress (v 6.3.2) and made sure to update it to the latest version. However, I can't use it because I get stuck on a loading page on every single page of the plugin. I tried to troubleshoot by desactivating other plugins, but doesn't seem to work.

Capture d’écran 2023-10-26 à 19 52 24

Steps to reproduce

Install the plugin in a Wordpress 6.3.2 website. Go through the plugin pages.

Screenshots, screen recording clips, or code snippets

No response

Environment

Please confirm that you have searched existing issues in this repository.

Yes

Please confirm that the problem occurs with the default theme and all the plugins deactivated except "Auto Amazon Links".

Yes

JhdChk commented 11 months ago

I just noticed that in troubleshoot mode, on Settings page and under any tab, I can see the following at the bottom of the page:

Debug Info
Options (formatted)
(array, length: 22) Array
(
    [capabilities] => Array
        (
            [setting_page_capability] => (string, length: 14) manage_options
            [create_units] => (string, length: 10) edit_pages
        )
    [debug] => Array
        (
            [debug_mode] => (integer, length: 1) 0
            [visibility] => Array
                (
                    [front_end] => (integer, length: 1) 0
                    [js] => (integer, length: 1) 1
                    [back_end] => (integer, length: 1) 1
                    [test] => (integer, length: 1) 1
                    [log] => (integer, length: 1) 1
                )
        )
    [disclosure] => Array
        (
            [page] => (null)
            [never_create_page] => (boolean) false
            [disclosure_text] => (string, length: 243) %site_host% is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn commission fees by advertising and linking to the following web sites. %associates_list%
            [link_disclaimer_to_page] => (boolean) true
            [disclaimer_text] => (string, length: 262) Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.
        )
    [security] => Array
        (
            [allowed_html] => Array
                (
                    [0] => Array
                        (
                            [tags] => (string, length: 8) noscript
                            [attributes] => (string, length: 6) data-*
                        )
                )
            [allowed_inline_css_properties] => (string, length: 60) min-height, max-height, min-width, max-width, display, float
        )
    [product_filters] => Array
        (
            [black_list] => Array
                (
                    [asin] => (string, length: 0) 
                    [title] => (string, length: 0) 
                    [description] => (string, length: 0) 
                )
            [white_list] => Array
                (
                    [asin] => (string, length: 0) 
                    [title] => (string, length: 0) 
                    [description] => (string, length: 0) 
                )
            [case_sensitive] => (integer, length: 1) 0
            [no_duplicate] => (integer, length: 1) 0
        )
    [support] => Array
        (
            [rate] => (integer, length: 1) 0
            [ads] => (boolean) false
            [review] => (integer, length: 1) 0
            [agreed] => (boolean) false
        )
    [cache] => Array
        (
            [caching_mode] => (string, length: 6) normal
            [expired_cache_removal_interval] => Array
                (
                    [size] => (integer, length: 1) 7
                    [unit] => (integer, length: 5) 86400
                )
            [cache_removal_event_last_run_time] => (string, length: 0) 
            [table_size] => Array
                (
                    [products] => (string, length: 0) 
                    [requests] => (string, length: 0) 
                )
            [compress] => (boolean) false
        )
    [query] => Array
        (
            [cloak] => (string, length: 11) productlink
        )
    [authentication_keys] => Array
        (
            [access_key] => (string, length: 0) 
            [access_key_secret] => (string, length: 0) 
            [api_authentication_status] => (boolean) false
            [associates_test_tag] => (string, length: 0) 
            [server_locale] => (null)
        )
    [template] => Array
        (
            [max_column] => (integer, length: 1) 1
        )
    [import_v1_options] => Array
        (
            [dismiss] => (boolean) false
        )
    [unit_preview] => Array
        (
            [preview_post_type_label] => (string, length: 17) Auto Amazon Links
            [preview_post_type_slug] => (string, length: 0) 
            [visible_to_guests] => (boolean) true
            [searchable] => (boolean) false
        )
    [reset_settings] => Array
        (
            [reset_on_uninstall] => (boolean) false
        )
    [external_scripts] => Array
        (
            [impression_counter_script] => (boolean) false
        )
    [feed] => Array
        (
            [use_description_tag_for_rss_product_content] => (boolean) false
        )
    [widget] => Array
        (
            [register] => Array
                (
                    [contextual] => (boolean) true
                    [by_unit] => (boolean) true
                )
        )
    [aalb] => Array
        (
            [support] => (integer, length: 1) 0
            [template_conversion_map] => Array()
        )
    [custom_oembed] => Array
        (
            [enabled] => (boolean) true
            [use_iframe] => (boolean) true
            [external_provider] => (string, length: 0) 
            [override_associates_id_of_url] => (boolean) false
            [template_id] => (null)
        )
    [paapi_request_counts] => Array
        (
            [enable] => (boolean) true
            [retention_period] => Array
                (
                    [size] => (integer, length: 1) 7
                    [unit] => (integer, length: 5) 86400
                )
        )
    [geotargeting] => Array
        (
            [enable] => (boolean) false
            [non_plugin_links] => (boolean) false
            [api_providers] => Array
                (
                    [cloudflare] => (boolean) true
                    [db-ip.com] => (boolean) true
                    [geoiplookup.io] => (boolean) true
                    [geoplugin.net] => (boolean) true
                )
        )
    [user_actions] => Array
        (
            [last_saved] => (integer, length: 1) 0
            [first_saved] => (integer, length: 1) 0
        )
    [unit_default] => Array
        (
            [unit_type] => (null)
            [unit_title] => (null)
            [cache_duration] => (integer, length: 5) 86400
            [count] => (integer, length: 1) 5
            [column] => (integer, length: 1) 4
            [country] => (string, length: 2) US
            [associate_id] => (null)
            [image_size] => (integer, length: 3) 160
            [ref_nosim] => (boolean) false
            [title_length] => (integer, length: 2) -1
            [description_length] => (integer, length: 3) 250
            [link_style] => (integer, length: 1) 1
            [link_style_custom_path] => (string, length: 11) merchandise
            [link_style_custom_path_review] => (string, length: 19) merchandise-reviews
            [credit_link] => (integer, length: 1) 0
            [credit_link_type] => (integer, length: 1) 0
            [title] => (string, length: 0) 
            [template] => (string, length: 0) 
            [template_id] => (null)
            [template_path] => (string, length: 0) 
            [is_preview] => (boolean) false
            [_labels] => Array()
            [operator] => (string, length: 3) AND
            [subimage_size] => (integer, length: 3) 100
            [subimage_max_count] => (integer, length: 1) 5
            [customer_review_max_count] => (integer, length: 1) 2
            [customer_review_include_extra] => (boolean) false
            [button_id] => (null)
            [button_type] => (integer, length: 1) 1
            [button_label] => (string, length: 7) Buy Now
            [override_button_label] => (boolean) false
            [product_filters] => Array
                (
                    [white_list] => Array
                        (
                            [asin] => (string, length: 0) 
                            [title] => (string, length: 0) 
                            [description] => (string, length: 0) 
                        )
                    [black_list] => Array
                        (
                            [asin] => (string, length: 0) 
                            [title] => (string, length: 0) 
                            [description] => (string, length: 0) 
                        )
                    [case_sensitive] => (integer, length: 1) 0
                    [no_duplicate] => (integer, length: 1) 0
                )
            [skip_no_image] => (boolean) false
            [width] => (null)
            [width_unit] => (string, length: 1) %
            [height] => (null)
            [height_unit] => (string, length: 2) px
            [show_errors] => (integer, length: 1) 1
            [show_now_retrieving_message] => (boolean) true
            [_allowed_ASINs] => Array()
            [highest_content_heading_tag_level] => (integer, length: 1) 5
            [_search_similar_products] => (boolean) true
            [similar_product_image_size] => (integer, length: 3) 100
            [similar_product_max_count] => (integer, length: 2) 10
            [description_suffix] => (string, length: 9) read more
            [_force_cache_renewal] => (boolean) false
            [_no_pending_items] => (boolean) false
            [_filter_adult_products] => (boolean) false
            [_filter_by_rating] => Array
                (
                    [enabled] => (boolean) false
                    [case] => (string, length: 5) above
                    [amount] => (integer, length: 1) 0
                )
            [_filter_by_discount_rate] => Array
                (
                    [enabled] => (boolean) false
                    [case] => (string, length: 5) above
                    [amount] => (integer, length: 1) 0
                )
            [_no_outer_container] => (boolean) false
            [load_with_javascript] => (boolean) false
            [_now_loading_text] => (string, length: 14) Now loading...
            [_widget_option_name] => (null)
            [_widget_number] => (null)
            [_error] => (null)
            [_custom_url_query_string] => Array()
            [_filter_by_prime_eligibility] => (boolean) false
            [_filter_by_free_shipping] => (boolean) false
            [_filter_by_fba] => (boolean) false
            [preferred_currency] => (null)
            [language] => (null)
            [product_title] => (null)
            [output_formats] => Array()
            [custom_text] => (string, length: 0) 
            [pop_up_images] => (boolean) true
            [_no_rendering] => (boolean) false
            [unit_format] => (string, length: 17) %text%
%products%
            [item_format] => (string, length: 313) <div class="amazon-auto-links-product">
    <div class="amazon-auto-links-product-image" style="min-width: %image_size%px;">
        %image%
    </div>
    <div class="amazon-auto-links-product-body">
        %title%
        %rating% %prime% %discount% %price% %disclaimer%
        %description%
    </div>
</div>
            [image_format] => (string, length: 328) <div class="amazon-product-thumbnail" style="max-width:%image_size%px; max-height:%image_size%px; width:%image_size%px;">
    <a href="%href%" title="%title_text%: %description_text%" rel="nofollow noopener" target="_blank">
        <img src="%src%" alt="%description_text%" style="max-height:%image_size%px;" />
    </a>
</div>
            [title_format] => (string, length: 154) <h5 class="amazon-product-title">
<a href="%href%" title="%title_text%: %description_text%" rel="nofollow noopener" target="_blank">%title_text%</a>
</h5>
        )

)
JhdChk commented 11 months ago

The problem came from ad-blocker. Now works fine!