Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 1 reply, has 2 voices.

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

Author Posts
March 6, 2024 at 5:41 pm #15381125

kristapsI

Pagination is not working on the translated site

When i use the original language it just jumps pages, from domain.com/shop/page/1 /2 /3 and so on, but in the translated latvian language it always stays on the first page after reload, think this is a WPML issue, can you help??

March 6, 2024 at 7:16 pm #15381322

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

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

Hi,

Thanks for contacting us.

Before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.

Can you please give us more details about the issue, is the loop grid built in a page builder such as Elementor or similar?

Can you please access the console in your browser developer tools and see if it is going to generate any errors when you try to use the pagination in the translated page? Feel free to share screenshots if you need to send the browser errors to us.

In addition to that, I'd like your help enabling the debug mode to help us track the error down, please add the following code to the 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.

After you send the WP debug logs, we'll analyze them and get back to you with further steps.

Also, so that we can take a better look at this, could you please attach the Debug info?

You can see how to retrieve and paste it here: https://wpml.org/faq/provide-debug-information-faster-support/.

In summary, these are the steps that you need to take in order to retrieve it:

- Go to WPML > Support > Debug Information
- Copy the Debug Information from there.
- Find the “Additional Data” section below this chat.
- Click on the “Debug Info” item to expand it.

I'm enabling the Debug Info template for your next reply.

Looking forward to helping you resolve this issue.

The topic ‘[Closed] Loop grid pagination not working’ is closed to new replies.