Skip Navigation

[Resolved] Pulling the wrong Product Archive Views

This support ticket is created 4 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 45 replies, has 2 voices.

Last updated by Jamal 4 years, 7 months ago.

Assisted by: Jamal.

Author
Posts
#1599881

Thank you, but the FTP access did not work for me. I tried to connect using WinSCP

#1599883

The FTP host is hidden link

#1600765

Thank your for the access. However, even though debugging is activate, no errors are logged on the debug.log. I will need to debug this further, and for that, I need your agreement to take a copy of your website and work on it locally. Would you agree?

#1600817

Yes please. This is a recurring issue.

#1603805

Hi Jamal, I want to let you know that I was trying to fix this - was in the process of disabling all the plugins when the website generated error and crashed.

The Site Host helped me get into WP Dashboard using another theme. However, each time I try to activate the theme that contains all my work (OceanG) - the website crashes and I am not able to log into WP.

I am trying to learn how to fix it. If you have any resources, please let me know.

Thank you

#1604269

Hello,

To find out what is causing issues between your theme and other plugins, you will have to activate PHP debugging, then activate/deactivate plugins, visit the frontend or backend. And check any written errors to debug.log file. That will help you understand where the issue is. Maybe you use a plugin function on your theme, and when the plugin is deactivated and the function is not found, PHP triggers a fatal error and crashes the site.
- https://wordpress.org/support/article/debugging-in-wordpress/
- https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/

If you are not comfortable with PHP code, you should probably involve a developer to help you fix that. You may want to hire one of our partners https://toolset.com/contractors/

#1604587
No_Archive3.jpg
No_Archive2.jpg

I restored the website to an earlier version. The issue is that the WordPress Archive (Product Organiser Archive) is linked to the Organiser taxonomy - see attached.

However, on the front end it is showing an error - see screenshot.

This is something that you should be able to help me with. Happy to follow the instructions and provide information about why this Archive is not working. Please let me know

#1604615

My issue is resolved now. Thank you!

#1604691
Organiser_Archive2.jpg
Organiser_Archive.jpg

Hello - I was able to fix the error in the page. However, there still seems to be a conflict.

The WP Archive (Product Organiser Archive) is correctly assigned to the Organiser Taxonomy - see screenshot.
But on the Front End there are no items found - see screenshot.
Or other times it pulls a default template.
There seems to be a conflict where I cannot use the Archive created by Toolset..

I used the Debugging tool and these are the related error messages.

[28-Apr-2020 19:22:18 UTC] PHP Notice: Undefined index: custom-field-product_compare in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 223
[28-Apr-2020 19:22:18 UTC] PHP Notice: Undefined index: custom-field-product_value in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 224
[28-Apr-2020 19:22:18 UTC] PHP Notice: Undefined index: custom-field-product_compare in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 223
[28-Apr-2020 19:22:18 UTC] PHP Notice: Undefined index: custom-field-product_value in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 224
[28-Apr-2020 19:22:18 UTC] PHP Notice: Undefined index: custom-field-product_compare in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 223
[28-Apr-2020 19:22:18 UTC] PHP Notice: Undefined index: custom-field-product_value in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 224
[28-Apr-2020 19:23:55 UTC] PHP Notice: Undefined index: custom-field-product_compare in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 223
[28-Apr-2020 19:23:55 UTC] PHP Notice: Undefined index: custom-field-product_value in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 224
[28-Apr-2020 19:23:55 UTC] PHP Notice: Undefined index: custom-field-product_compare in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 223
[28-Apr-2020 19:23:55 UTC] PHP Notice: Undefined index: custom-field-product_value in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 224
[28-Apr-2020 19:23:55 UTC] PHP Notice: Undefined index: custom-field-product_compare in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 223
[28-Apr-2020 19:23:55 UTC] PHP Notice: Undefined index: custom-field-product_value in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 224

#1605773

The hidden link is rendered by the WordPress archive with id 3504 check this screenshot hidden link

But when we try to edit it, it gives a wrong id 3505, check this screenshot hidden link

When we try to build the link and edit the template 3504 hidden link
It is not recognized as a WordPress archive or a view. No document type or name, check this hidden link
This is an inconsistency.

I tried to create a new WordPress archive and it was created with the classic editor. So I changed the setting to display both the classic and block editors. Check this screenshot hidden link

I created a new archive "Products Archive - Organiser Taxonomy" and customize it similar to "Product Organiser Archive". It is not working for hidden link

I'll let you customize it. Let me know if you still need anything.

#1606113
New post.jpg
New post2.jpg

It seems to work. However, I note that you created a new Archive ID 3539 (see attached) and, when I try to edit it, it also gives a wrong ID of 3540 (attached)...so is the error still there? This conflict of post numbers seems to be affecting all the forms and posts in the website..but everything else is showing up fine.

I ran the Toolset debugging tool and the same errors keep popping up related to Toolset files - see below. I think the code with Toolset needs to be fixed
Should I open a new ticket for this?

[29-Apr-2020 00:04:49 UTC] PHP Notice: Undefined index: custom-field-product_compare in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 223
[29-Apr-2020 00:04:49 UTC] PHP Notice: Undefined index: custom-field-product_value in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 224
[29-Apr-2020 00:04:49 UTC] PHP Notice: Undefined index: custom-field-product_compare in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 223
[29-Apr-2020 00:04:49 UTC] PHP Notice: Undefined index: custom-field-product_value in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 224
[29-Apr-2020 00:04:49 UTC] PHP Notice: Undefined index: custom-field-product_compare in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 223
[29-Apr-2020 00:04:49 UTC] PHP Notice: Undefined index: custom-field-product_value in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 224
[29-Apr-2020 00:06:39 UTC] PHP Notice: Undefined index: custom-field-product_compare in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 223
[29-Apr-2020 00:06:39 UTC] PHP Notice: Undefined index: custom-field-product_value in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 224
[29-Apr-2020 00:06:39 UTC] PHP Notice: Undefined index: custom-field-product_compare in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 223
[29-Apr-2020 00:06:39 UTC] PHP Notice: Undefined index: custom-field-product_value in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 224
[29-Apr-2020 00:06:39 UTC] PHP Notice: Undefined index: custom-field-product_compare in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 223
[29-Apr-2020 00:06:39 UTC] PHP Notice: Undefined index: custom-field-product_value in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 224
[29-Apr-2020 01:55:42 UTC] PHP Notice: Undefined index: custom-field-product_compare in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 223
[29-Apr-2020 01:55:42 UTC] PHP Notice: Undefined index: custom-field-product_value in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 224
[29-Apr-2020 01:55:42 UTC] PHP Notice: Undefined index: custom-field-product_compare in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 223
[29-Apr-2020 01:55:42 UTC] PHP Notice: Undefined index: custom-field-product_value in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 224
[29-Apr-2020 01:55:42 UTC] PHP Notice: Undefined index: custom-field-product_compare in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 223
[29-Apr-2020 01:55:42 UTC] PHP Notice: Undefined index: custom-field-product_value in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 224
[29-Apr-2020 03:01:17 UTC] PHP Notice: Undefined index: custom-field-product_compare in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 223
[29-Apr-2020 03:01:17 UTC] PHP Notice: Undefined index: custom-field-product_value in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 224
[29-Apr-2020 03:01:17 UTC] PHP Notice: Undefined index: custom-field-product_compare in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 223
[29-Apr-2020 03:01:17 UTC] PHP Notice: Undefined index: custom-field-product_value in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 224
[29-Apr-2020 03:01:17 UTC] PHP Notice: Undefined index: custom-field-product_compare in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 223
[29-Apr-2020 03:01:17 UTC] PHP Notice: Undefined index: custom-field-product_value in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 224
[29-Apr-2020 07:49:43 UTC] PHP Notice: Undefined index: button_icon in /home/congenia/public_html/wp-content/plugins/elementor-pro/modules/forms/widgets/form.php on line 1298
[29-Apr-2020 08:06:06 UTC] PHP Notice: Undefined index: custom-field-product_compare in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 223
[29-Apr-2020 08:06:06 UTC] PHP Notice: Undefined index: custom-field-product_value in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 224
[29-Apr-2020 08:06:06 UTC] PHP Notice: Undefined index: custom-field-product_compare in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 223
[29-Apr-2020 08:06:06 UTC] PHP Notice: Undefined index: custom-field-product_value in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 224
[29-Apr-2020 08:06:06 UTC] PHP Notice: Undefined index: custom-field-product_compare in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 223
[29-Apr-2020 08:06:06 UTC] PHP Notice: Undefined index: custom-field-product_value in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 224
[29-Apr-2020 12:26:53 UTC] PHP Notice: Undefined index: wpv-_start_date_picker in /home/congenia/public_html/wp-content/toolset-customizations/toolset-custom-code.php on line 47
[29-Apr-2020 12:26:54 UTC] PHP Notice: Undefined index: button_icon in /home/congenia/public_html/wp-content/plugins/elementor-pro/modules/forms/widgets/form.php on line 1298
[29-Apr-2020 12:29:16 UTC] PHP Notice: Undefined index: wpv-_start_date_picker in /home/congenia/public_html/wp-content/toolset-customizations/toolset-custom-code.php on line 47
[29-Apr-2020 12:29:16 UTC] PHP Notice: Undefined index: button_icon in /home/congenia/public_html/wp-content/plugins/elementor-pro/modules/forms/widgets/form.php on line 1298
[29-Apr-2020 12:58:05 UTC] PHP Notice: Undefined index: custom-field-product_compare in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 223
[29-Apr-2020 12:58:05 UTC] PHP Notice: Undefined index: custom-field-product_value in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 224
[29-Apr-2020 12:58:05 UTC] PHP Notice: Undefined index: custom-field-product_compare in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 223
[29-Apr-2020 12:58:05 UTC] PHP Notice: Undefined index: custom-field-product_value in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 224
[29-Apr-2020 12:58:05 UTC] PHP Notice: Undefined index: custom-field-product_compare in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 223
[29-Apr-2020 12:58:05 UTC] PHP Notice: Undefined index: custom-field-product_value in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 224
[29-Apr-2020 13:06:50 UTC] PHP Notice: Undefined index: wpv-_start_date_picker in /home/congenia/public_html/wp-content/toolset-customizations/toolset-custom-code.php on line 47
[29-Apr-2020 13:06:51 UTC] PHP Notice: Undefined index: button_icon in /home/congenia/public_html/wp-content/plugins/elementor-pro/modules/forms/widgets/form.php on line 1298
[29-Apr-2020 13:43:16 UTC] PHP Notice: Undefined index: button_icon in /home/congenia/public_html/wp-content/plugins/elementor-pro/modules/forms/widgets/form.php on line 1298
[29-Apr-2020 13:45:04 UTC] PHP Notice: Undefined index: custom-field-product_compare in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 223
[29-Apr-2020 13:45:04 UTC] PHP Notice: Undefined index: custom-field-product_value in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 224
[29-Apr-2020 13:45:04 UTC] PHP Notice: Undefined index: custom-field-product_compare in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 223
[29-Apr-2020 13:45:04 UTC] PHP Notice: Undefined index: custom-field-product_value in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 224
[29-Apr-2020 13:45:04 UTC] PHP Notice: Undefined index: custom-field-product_compare in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 223
[29-Apr-2020 13:45:04 UTC] PHP Notice: Undefined index: custom-field-product_value in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 224
[29-Apr-2020 13:50:41 UTC] PHP Notice: Undefined index: wpv-_start_date_picker in /home/congenia/public_html/wp-content/toolset-customizations/toolset-custom-code.php on line 47
[29-Apr-2020 13:50:42 UTC] PHP Notice: Undefined index: button_icon in /home/congenia/public_html/wp-content/plugins/elementor-pro/modules/forms/widgets/form.php on line 1298
[29-Apr-2020 14:09:03 UTC] PHP Notice: Undefined property: WP_Post_Type::$ID in /home/congenia/public_html/wp-content/plugins/wordpress-seo/frontend/class-frontend.php on line 265
[29-Apr-2020 14:09:03 UTC] PHP Notice: Trying to get property 'ID' of non-object in /home/congenia/public_html/wp-content/plugins/wordpress-seo/frontend/class-frontend.php on line 1238
[29-Apr-2020 15:56:54 UTC] PHP Notice: Undefined index: button_icon in /home/congenia/public_html/wp-content/plugins/elementor-pro/modules/forms/widgets/form.php on line 1298

#1607011

I think that a new ticket will be good to handle these notices.

There are 6 notices that kept repeating here:

Two errors coming from "WordPress SEO" plugin:

[29-Apr-2020 14:09:03 UTC] PHP Notice: Undefined property: WP_Post_Type::$ID in /home/congenia/public_html/wp-content/plugins/wordpress-seo/frontend/class-frontend.php on line 265
[29-Apr-2020 14:09:03 UTC] PHP Notice: Trying to get property 'ID' of non-object in /home/congenia/public_html/wp-content/plugins/wordpress-seo/frontend/class-frontend.php on line 1238

One coming from Elementor Pro:

[29-Apr-2020 07:49:43 UTC] PHP Notice: Undefined index: button_icon in /home/congenia/public_html/wp-content/plugins/elementor-pro/modules/forms/widgets/form.php on line 1298

One from a Toolset customization code, check Toolset->Settings->Custom code(tab):

[29-Apr-2020 12:26:53 UTC] PHP Notice: Undefined index: wpv-_start_date_picker in /home/congenia/public_html/wp-content/toolset-customizations/toolset-custom-code.php on line 47

And two coming from Toolset Views:

[29-Apr-2020 00:04:49 UTC] PHP Notice: Undefined index: custom-field-product_compare in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 223
[29-Apr-2020 00:04:49 UTC] PHP Notice: Undefined index: custom-field-product_value in /home/congenia/public_html/wp-content/plugins/wp-views/embedded/inc/filters/wpv-filter-meta-field-embedded.php on line 224

Keep in mind, that we will need to find out the steps that generate these notices to better address them. If we can't know what pages/flows that generated them, we'll be hitting a wall.

#1607077

Yes ok. I will open a new ticket..this is a recurring issue and there must be some error that prevents the new archive from working.

#1607175

Thank you! I am sure will get to the bottom of all these notices.

Please, kindly, mark this ticket as resolved. And provide details of your findings(what pages/steps trigger what errors) on your new ticket.

Keep safe.

#1607237

Yes I tried to close the ticket but the system says that its duplicate and won't let me close it. Its closed

My issue is resolved now. Thank you!