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.

Our next available supporter will start replying to tickets in about 6.59 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Tagged: 

This topic contains 31 replies, has 2 voices.

Last updated by Long Nguyen 1 year, 3 months ago.

Assisted by: Long Nguyen.

Author Posts
June 8, 2023 at 10:39 am #13792233

dosvisual.com

I already told you the steps to follow and that sometimes it´s random (or still undetected).

I can provide a copy of the live site now. Can you enable the private answer so I share the link please?
Thanks

June 9, 2023 at 1:18 am #13796337

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Yes, you can share a copy of your site in your next reply. Please keep in mind that, the issue is happening there, I need to debug the issue.

Thanks.

June 12, 2023 at 9:50 am #13808333

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

After restoring your site on my local host, I check the URL on the frontend and do not see the issue. Please check this screenshot hidden link

Did you fix the issue before creating the backup file? Please create a backup file before fixing the issue or share the credentials of the live site with me so I can take a look.

Thanks.

June 12, 2023 at 10:18 am #13808525

dosvisual.com

Yes, I had already sent you the videos showing you how I managed to fix it.
I´ll share the credentials. Please be careful as the festival is ongoing. Thanks

June 13, 2023 at 2:02 am #13813223

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Yes, I know how you fix the issue on your live site but I need a backup file at the time the issue is happening, not after fixing it, as I said before (https://wpml.org/forums/topic/conflict-with-avada-options-portfolio-slug-header-content-logo/page/2/#post-13791783)

What steps do I need to do if your live site is working now and I have the credentials?

Look forward to your reply.
Thanks

June 14, 2023 at 1:35 am #13820991

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Ok, please continue on 19th. If the issue happens again, please share your backup file at that time.

Thanks for your patience.

June 15, 2023 at 5:40 am #13829061

dosvisual.com

Hi Long
It happened again. I´m uploading the backup with the bug occurring to the same link I had provided on the previous private answer. I also added a video showing you what i detail below.

STEPS I followed>
Today 15-06-2023 around 7.30am GMT+2
1) I opened the home page and edited the "TITLE type=Highlight..." element on the "Presentacion y Trailer" container and saved.
2) I edited the ESP translation with ATE and completed it.
3) I checked the page hidden link and clicked on "American Parent" which should have linked to it´s portfolio page, but instead it opened "hidden link". I clicked all the other portfolio links, also failing.
4) I checked /es/peliculas and /en/films, same error.

Yesterday 14-06-2023 11 am GMT+2
- One editor edited the post hidden link

Hope that is enough for you to debug it.
Thanks

June 15, 2023 at 6:00 am #13829213

dosvisual.com

p.s> the way I fixed it this time is by resaving the permalinks.

June 15, 2023 at 8:13 am #13830273

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

After restoring the new backup file on your site, I can see the issue and portfolio slug also, screenshot hidden link
I notice that, the list of portfolio posts on the page "pellicules" is created by the grid shortcode (plugin The Grid).

The issue does not happen on the archive page hidden link which is the standard archive page of the theme. So I think it's not an issue between Avada and WPML.

I suggest you can go to admin area > The Grid > Global settings > Disable caching grid to avoid this issue. Also, please don't edit the grid item and change the grid language.

I hope that gives you some insights. You can also contact The Grid author and ask about this issue if they'd aware of this.

Look forward to your reply.
Thanks

June 15, 2023 at 2:53 pm #13833565

dosvisual.com

Thanks for the hyphotesis.
I don´t understand your suggestion about "not editing the grid and translating it". Can you clarify please?

The grid plugin could be a cause for the error, but I already mentioned on my first message:
"**("The Grid" plugin is installed now but I got the same errors with Avada´s portfolio element, so it´s not the plugin)"---> I installed the plugin hoping the error would stop, but it kept on happening anyway.

Can you please test the links in:
a) /programa/ (and eventually its translations), for e.g> "This Is Not Me"
b) /que-es-fire/edicions-anteriors/2022-segueix-la-teva-flama/ (here I´m using the avada portfolio element)
c) What happens if you deactivate WPML and retry the "/pelliculas" links to portfolio pages?

Thanks

June 16, 2023 at 3:18 am #13836041

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

>> I don´t understand your suggestion about "not editing the grid and translating it".
That means editing the grid item and change the language of the item, please check this screenshot hidden link

a) /programa/ (and eventually its translations), for e.g> "This Is Not Me"
I see it does not work on my local host, but for only this portfolio, other portfolios still work as well.

b) /que-es-fire/edicions-anteriors/2022-segueix-la-teva-flama/ (here I´m using the avada portfolio element)
All works properly.

c) What happens if you deactivate WPML and retry the "/pelliculas" links to portfolio pages?
If I deactivate WPML, the portfolio slug option is deleted, screenshot hidden link
You might need to re-add the slug and re-save the permalink to make it works again, nothing I should do at this point.

June 16, 2023 at 2:42 pm #13840739

dosvisual.com

Hi Long
I´m uploading a new copy of the website with the bug occurring along with a video showing the bug.

STEPS
A few minutes ago I edited the page "/seccions/mes-fire/" and it´s translations ----> The portfolio links are ALL broken in ALL the pages I mentioned (a - b - c)> when using the grid plugin (Pellicules), on a simple avada text element (Programa) and using avada portfolio element (/que-es-fire/edicions-anteriors/2022-segueix-la-teva-flama/).

--
c) What I meant was that if you deactivate the Wpml plugin (before the bug, when it´s all working good), the portfolio slug never breaks. So, it has to be related to WPML.

--
So, my hypothesis is that the problem is on the integration between Avada options and WPML, specifically the way the portfolio slug is being translated differently than the rest of the options.

PLEASE, I kindly request we waste no more time (we used 1 month to "prove" that what I´ve been saying since day 1 requires deep debugging) and please, debug this deeper.

THANK YOU

June 19, 2023 at 2:57 am #13846651

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I'm not able to replicate that issue with the backup file on my local host and on your site at this time. Please check this screen record hidden link

However, I'm asking our 2nd tier support to get some advice about this issue. I will update you here when I have something to share.

Thanks for your patience.

June 19, 2023 at 10:48 am #13850449

dosvisual.com

Thanks for the update.
FYI, the only other activity on the website was posts scheduled for autopublish.
(You can check the Defender Pro Audit log)
Hope the 2nd tier support can solve this!

July 19, 2023 at 3:50 am #14062471

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I got some information from our 2nd tier support. They are not able to replicate the issue from your backup file with clear steps. It's really difficult to fix an issue if it happens randomly and cannot replicate. If it is resolved after re-saving permalink settings, you can try to set a cron job to regenerate the rewrite rules every 24 hours (or maybe every few hours). For example:

if ( ! wp_next_scheduled( 'my_daily_rewrite_rules_flush' ) ) {
    wp_schedule_event( time(), 'daily', 'my_daily_rewrite_rules_flush' );
}

add_action( 'my_daily_rewrite_rules_flush', 'my_flush_rewrite_rules' );

function my_flush_rewrite_rules() {
    flush_rewrite_rules();
}

Refer to the documentation https://developer.wordpress.org/reference/functions/flush_rewrite_rules/

I hope that helps.

The topic ‘[Closed] Conflict with Avada Options: portfolio slug – header content – logo’ is closed to new replies.