Skip Navigation

[Resolved] Article archives don't work

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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 6 replies, has 2 voices.

Last updated by Mateus Getulio 1 year, 9 months ago.

Assisted by: Mateus Getulio.

Author
Posts
#2651521

Hello, I was informed by the customer that the archives (in the widgets) do not work.
I also tried installing the current theme on a fresh wordpress install to test if the issue was toolset related.

Link to a page where the issue can be seen: hidden link

I expected to see a list of articles

#2651679

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

When you tested on a fresh WordPress with your theme the issue didn't happen, is that correct?

Also, does the issue happen when you're logged in as well?

I'd like your help enabling the debug mode, please add the following code in the same wp-config.php file:

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
  
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
  
// Disable display of errors and warnings 
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
  
// Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
define( 'SCRIPT_DEBUG', true );

Please check following links to read more about debugging with WordPress.
- https://codex.wordpress.org/Debugging_in_WordPress
- https://codex.wordpress.org/Debugging_in_WordPress#Example_wp-config.php_for_Debugging

After adding the code above, please try to reproduce the issue again and check if you'll find a debug.log file inside the wp-content folder.

If you locate it there, please send us the last lines here in the ticket.

Thank you, please let me know.

#2652427

Hello, I enabled debugging, but no log file was generated.

I installet a fresh wordpress with same theme here and achives works fine: hidden link

#2652489

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello,

Thank you for taking those steps to debug the issue.

I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Privacy and Security Policy

We have strict policies regarding privacy and access to your information. Please see:
https://toolset.com/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

**IMPORTANT**

- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link

Please, let me know if you need any additional details. Have a nice day.

#2652733

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

I checked that with a default theme it is loading the records in the archive page just fine.

I debugged a bit further and checked that when your current theme is active, in the archive.php file, it is not loading any records for the loop to run, when it comes to this part it is not finding any records and then exiting the loop:

if (count($wp_query->tax_query->queries) > 0) {
}

I'd like to compare the theme version available in the staging site with the live site to see if I can spot what's causing this issue. Is it possible for you to provide us with the same version that you're using in the staging site? Child + parent?

I tried logging into the staging site using the same details as the production site but they're different apparently.

You can share it with us with the private form I'm enabling or by uploading it to the FTP server that you shared the access with us already and letting us know the path to the file or folder. Alternatively you can upload it to a file sharing service such as Dropbox and send us the link.

I'm making your next reply private.

Thank you, please let us know.

#2652835

Hy Matheus,
your reply made mi think to check again theme settings. I solved, there was a settings change in the theme.

#2653383

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Glad that you are able to resolve this.

I hope we are good to close here.

Feel free to contact us any time if you need assistance with our products.

Kind regards