• Resolved lucasmang

    (@lucasmang)


    Header and footer appear fine on regular archive / product listview pages but then when you click an alphabet letter the header / footer break. Using DIVI theme.

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Fahad Mahmood

    (@fahadmahmood)

    @lucasmang I think you need to change the main query number from the settings area. Whats happening actually, when you are clicking on an alphabet, it is altering the wrong query and everything is getting stuck. So please make sure that you are getting the list of items correctly even when no alphabet clicked.

    For example, on this page, there should be 13 items listed but without any alphabet selection, there is nothing appearing.

    https://wildplanetmusic.com/product-category/clothing/wind-breakers/

    Thread Starter lucasmang

    (@lucasmang)

    Thank you for the quick reply but unfortunately it does not help.

    No products have been added to the windbreakers category, why are you saying there should be 13 items?

    The issue is that when clicking on any of the letters with your plugin the header and footer both disappear.

    Here is a category with products so that you can see the issue:
    https://wildplanetmusic.com/product-category/clothing/hoodys/

    Here are some screenshots of the issue:
    https://snipboard.io/7UWv61.jpg
    https://snipboard.io/TegZu6.jpg
    https://snipboard.io/NecHRz.jpg

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    @lucasmang I have asked my support team to explain about the main_query in details using a video tutorial but till than you can try changing the query number.

    1) Change Auto Implementation to Custom
    2) Enter the query number 1 then try 2 and upto 5 and let me know which one resolves the issue?

    Actually every theme use a different number of main queries which can misguide the plugin scripts. Our plugin only target the main_query to sort the items by alphabet clicked. In your case the wrong query is being modified. That’s why header and footer are being disturbed. I hope I could answer your query with as less as possible using technical language.

    Thread Starter lucasmang

    (@lucasmang)

    I have custom child theme header and footer files by the way, it is almost as if the custom header and footers from the child theme aren’t being called when you filter by a letter.

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    There is something which is halting the perfect output, do you have error_log being filled? Debug mode is ON?

    Thread Starter lucasmang

    (@lucasmang)

    Here’s everything from the file:

    [03-Nov-2021 00:36:11 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:36:11 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:36:11 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:36:11 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:36:11 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:36:11 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:36:11 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:36:11 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:36:11 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:36:11 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:36:11 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:36:11 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:36:49 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:36:49 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:36:49 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:36:49 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:36:49 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:36:49 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:37:04 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:37:04 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:37:04 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:37:04 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:37:04 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:37:04 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:37:06 UTC] PHP Deprecated:  The called constructor method for Debug_Bar_Panel::Debug_Bar_Panel in Debug_Bar_Panel is <strong>deprecated</strong> since version 0.8.3! Use <code>__construct()</code> instead. in /home/wildpla2/public_html/wp-includes/functions.php on line 5304
    [03-Nov-2021 00:37:09 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:37:09 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:37:09 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:37:09 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:37:09 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:37:09 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:37:51 UTC] PHP Deprecated:  The called constructor method for Debug_Bar_Panel::Debug_Bar_Panel in Debug_Bar_Panel is <strong>deprecated</strong> since version 0.8.3! Use <code>__construct()</code> instead. in /home/wildpla2/public_html/wp-includes/functions.php on line 5304
    [03-Nov-2021 00:37:52 UTC] PHP Deprecated:  The called constructor method for Debug_Bar_Panel::Debug_Bar_Panel in Debug_Bar_Panel is <strong>deprecated</strong> since version 0.8.3! Use <code>__construct()</code> instead. in /home/wildpla2/public_html/wp-includes/functions.php on line 5304
    [03-Nov-2021 00:38:55 UTC] PHP Deprecated:  The called constructor method for Debug_Bar_Panel::Debug_Bar_Panel in Debug_Bar_Panel is <strong>deprecated</strong> since version 0.8.3! Use <code>__construct()</code> instead. in /home/wildpla2/public_html/wp-includes/functions.php on line 5304
    [03-Nov-2021 00:40:05 UTC] PHP Notice:  Trying to get property 'post_type' of non-object in /home/wildpla2/public_html/wp-includes/class-wp-query.php on line 4196
    [03-Nov-2021 00:40:05 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:40:05 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:40:05 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:40:05 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:40:05 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:40:05 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:40:41 UTC] PHP Deprecated:  The called constructor method for Debug_Bar_Panel::Debug_Bar_Panel in Debug_Bar_Panel is <strong>deprecated</strong> since version 0.8.3! Use <code>__construct()</code> instead. in /home/wildpla2/public_html/wp-includes/functions.php on line 5304
    [03-Nov-2021 00:40:45 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:40:45 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:40:45 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:40:45 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:40:45 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:40:45 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:40:56 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:40:56 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:40:56 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:40:56 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:40:56 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:40:56 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:41:03 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:41:03 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:41:03 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:41:03 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:41:03 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:41:03 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:41:10 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:41:10 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:41:10 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:41:10 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:41:10 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    [03-Nov-2021 00:41:10 UTC] PHP Notice:  Trying to get property 'slug' of non-object in /home/wildpla2/public_html/wp-includes/taxonomy.php on line 4510
    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    @lucasmang I have checked the plugin files, these two slug and post_type related Notices are not relevant to Alphabetic Pagination plugin. It means main_query would be the reason. Please wait for the video tutorial you will received today hopefully.

    Thread Starter lucasmang

    (@lucasmang)

    Could it be this?

    [03-Nov-2021 02:09:18 UTC] PHP Notice: Undefined property: WP_Post_Type::$term_id in /home/wildpla2/public_html/wp-content/plugins/alphabetic-pagination/inc/functions.php on line 619

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    @lucasmang releasing a new version with the default query number feature, my support team will guide you about that. Hopefully that will fix your issue.

    Notices and warnings do not halt the functionality actually so ignore the notice mentioned above, I have already taken care of it. It will be released in next version as well.

    Plugin Support acrobaticsjs

    (@acrobaticsjs)

    @lucasmang If using the main query breaks the page or some parts of the page, you can try random numbers to check on which default query number is working for the plugin.

    Video tutorial:

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    @lucasmang If your theme is using the main query more than one times, it might will confuse the pagination filtering and you will not get the appropriate results. It can break the page or some parts of it. Try a number greater than 1 as default query is only one main_query which is recommended actually by the WordPress theme development. To check on which number main_query is working as expected with the Alphabetic Pagination, use the default query number input box under permissions tab. These guidelines are for only FREE version. PREMIUM version has different input box for every page separately.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Header and footer broken on paginated page’ is closed to new replies.