Skip Navigation

[Resolved] Ajax Filter did not work after change to SSL

This support ticket is created 6 years, 3 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

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

This topic contains 28 replies, has 3 voices.

Last updated by Beda 5 years, 9 months ago.

Assisted by: Beda.

Author
Posts
#1105393

I give you now superadmin rights.
then you can update the plugin.

#1105398

Thanks, but as stated, I will test locally with the copy I got (which I assume to be a working version)

Then I'll see what happens when updating the plugin, maybe it is that one producing the corruption, we will see.

#1106387

That duplicator cannot be deployed, it fails and redirects constantly to the real site, even thou the database is properly adapted as well as the wp-config files.

As it's multisite the Duplicator provided probably is not properly built by the plugin.

So I used what was initially provided to me by Luo again.
I moved the 2 Content Templates to the trash and the issue was immediately solved.

I then edited them to remove the corrupted calling in the titles and re-assigned them to posts (Jobs)
The reason only Jobs are affected by this is the content template assigned to those posts (Jobs).
I cannot remove that on your live site.
I suggest to set up a staging site where I can show you this, and then as well how to re-assign the templates back

I note that the Duplicate I have, hs Version 5.5.2.1 of the builder, which already has an update, I performed that and it as well did not bring up issues.

If you can set up a staging site for your production, that could be great to solve this safely.
In case you cannot do this I can request a server accessible to you but that cannot be used as a staging server, it would be only to demonstrate the solution.

I activated a private reply in case you can provide a staging access
Note that I cannot make such changes on a site that is live and should not be broken.

#1106392

But as you can see on my system (with the logins i send you) i already removed the old templates and build new ones without any special characters (now the name is "jobs template". So i already do exactly what you said and nothing happens. It is still not working with the Plugin version 5.5.x .
Please login to my system and update the plugin (you have superadmin rights) and then you see that it don't work.
If you then put back via ftp the old plugin (5.4.7) then it is working again.

#1106408

I confirm that but, I trashed both those content templates and the issue is solved.
You can repeat those steps.
I re-assigned it all as it was.

It is strange that this is not happening locally though.

Maybe there are more items that are corrupt within those 2 Templates.
For example, a View that calls another template with some of the issues.

As soon those templates are not active on your site the issue is solved, and locally, reactivating them solved the issue.
Online it seems there are more things to do.
Can we do a copy of both templates, and start to take them apart?

Remember this will affect the online View of this site unless it's done on a staging site.
This can then help to determine what exactly causes the remaining issue.

Note that I confirm the issue is starting with the update of the Builder, however, this is a sanitization issue most likely, following the symptoms, that accidentally is triggered by that update (since the builder is used on those templates).
We will find the exact problem on the site or the duplicate of if you can have one, and I hope we can determine fast the exact line to change in the Content Template.

If you agree, I create 2 copies of that and take it apart to see when the issue comes back or you can go ahead and do that if you prefer, please let me know.

#1106415

Thanks a lot!
Do what you want and what you need on the site.
I have a Backup wird updraft.
It is strange that it is working on your site locally. Maybe there are a mixture of problems. Multisite it SSL.

#1106430

I created a new copy of the only Content Template used, and assigned it to all Jobs:
hidden link

The pagination on hidden link works fine

I simply trashed the old, after copying it to a new template...

Can you confirm?

Since you did not use the other template I did not copy that one, however, you can, it's still in the trash.

#1106480

Thanks,
I got the bug!

I do the same what you do (make a new template and copy the content), but yesterday it don't worked.
now it is working! but what was the difference to my copy version?

It is the custom CSS Code!
The custom CSS Code which I added when Page Builder was active on the template (by clicking on the CSS gear in the right top corner) is gone if you copy the template. the code is still there but not visible in page builder by clicking the gear.
if you then stop using page builder to edit the template you can see the custom css under the "css editor".
and if you now delete the custom css code in the "css editor" and click to edit the page with page builder and paste the custom css code in the css box at the gear the Ajax filter will not work anymore!
you can approve this strange bug if you like, it is replicable.

#1106539

I just duplicated the existing one and trashed it after.
No Copy paste, just duplicate the Content Template to a new one in the Content Template's list and then assign it properly.

But I confirm what you state:
CSS in the Builder's Cog and it breaks, remove that CSS and it works.
It seems we found the second counterpart in this issue along with the corruption of the names

I cannot replicate this locally though, on a fresh install with the latest bakery plugin and Toolset.
This could be due to some row or cell in the specific template, or similar, in conjunction with the CSS saved from the Builder.

I tried on your site with a new template and just added CSS - it seems to work?
hidden link

Now we should re-add piece by piece the parts of the broken template.
I would start by simply adding by the CSS first (a specific one)
If that already breaks the issue it'd be due to the specific CSS, but I suspect it relates to one of the several views in the template.

==> I did re-assign all back as it is so the site is not broken while I wait for your reply.

Please let me know if you see it working and if you can see what Bakery element produces the issue

I will asap try to figure this out as well, however, we cannot do these debug steps usually, I will need to find some time to allocate to test what happens re-implementing each part of the template... or deleting, so that is, in the broken one.

For now, I fixed the issue on your site by putting the CSS into the Content Template editor and re-instantiating the Builder - now there is an empty CSS of the builder but it should still be called by the template.
Otherwise better add it to the Theme, this is better anyway for performance and development purposes.

I will try to investigate this more as well according to your feedback you might have (I can still not replicate this clean, locally).
We may have a rare bug here, let's find it.

For now (immediate) the direct impact on your site should be addressable with the workarounds.

#1106585

thank you. I can go on with this workaround.

but I have testing the css problem.
I put only one css code in the builder css field in your "new CT" template and it crashed the Ajax.
you can see it. I have assigned the template to the job "IT neuer Job" and when it is in the filter list (click on the "IT" filter) it crashed. if I remove the css, it worked.

#1107500

I see that - again I tried this, with The7 Theme and the Bakery Plugin of them, and Toolset.

I may have finally replicated this, I hope, using the specific The7 Plugin/Theme version.

It is probably related to the CSS only, and the corruption seen on the copy is due to the export or similar and caused addon issues.

Nice that we found out because, otherwise, it would not have got solved (somehow the wrong diagnosis would have made a wrong fix)

Thanks for being patient with me, I have now replicable steps, it seems, that if you update from older The7 + Builder to newer and use CSS in that Builder COG and the CT's involved in the AJAX updated View, the AJAX breaks with no error, it just fails

I have this replicated finally.

Re-escalating as compatibility issue (We will have to fix this for the visual composer in general, not the The7 specific one, but it should solve it there as well, unless the bug is within that plugin only, which the DEV will find out.

#1109280

Hi,
thank you very much for your perfect support and help!
it was not easy to find the problem but finally I now know what to do and I can work on.
i am very happy with your great plugin and your professional support.

#1192551

This will be solved in a coming Views update.

For now, I could provide you with a patch, which you would have to apply to all major Toolset Plugins you have installed.
Please let me know if you want this, I reopened the ticket for this purpose.

#1210569

This is resolved.