Skip Navigation

[Closed] I think i found a bug when using two views in same page.

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

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

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 22 replies, has 2 voices.

Last updated by Nigel 4 years, 4 months ago.

Assisted by: Nigel.

Author
Posts
#1642861
before.jpg
after refresh.jpg
22.jpg
11.jpg

I have to views in the same page,
and the styles is not loaded correct.
When i change the first view, thats looks correct, but then view 2 is messed up.
I resave the view 2, then the view 1 is messed up.

the styels works right after i have updated the view. but after a refresh, it looses its layout...

#1643061

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Patrik

Could I get access to your site to see exactly how you have this set up?

I want to try to reproduce the problem on my own test site, but for that I need to check the specifics of the page with the two Views.

I will mark your next reply as private so that I can get log-in credentials from you—you may want to create a temporary admin user for me to use that you can later delete. And be sure to have a current backup of your site.

What is the page with these two Views?

#1643243

Yes i can. but here is no private area to add user-credentials.

I have now added some hardcoded css to solve it for now.
With this its stays in correct styles.

Im working alot with the system right now, so be aware when you go in. If it says the page is taken, pls dont take it over it until its free.

.tb-field[data-toolset-blocks-field="97977c140dceac4098e329954f44bb55"] {
font-size: 16px !important;
color: rgba( 119, 119, 119, 1 ) !important;
}
.tb-container[data-toolset-blocks-container="4374a453055bff0514d53b0dc7da5bf4"] {
padding: 25px !important;
min-height: 200px !important;
}

#1643291

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Sorry, let me try again with the private reply.

#1643877

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

I'm not sure what the problem is I'm looking for.

I see that you have a page created with WPBakery where you have inserted two Content Templates, both of which contain a View in situ made with blocks.

I've tried different combinations of saving a View and loading the page then loading it again and the before and after always seem the same (compare the two screenshots).

Can you describe clear steps to try to reproduce the problem?

#1644117

Of course you dont get any error. I have temporarly fixed them via custom CSS as I said before.

I cant remove the custom CSS for now but you will see them in console and might can inactivate them.

Please hide the images in this post with all the logos!

#1644159

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Sorry, jumping between tickets I overlooked that.

I've removed the screenshots.

Where did you add the custom CSS? I can't find it, and I can't see the problem with it in place.

#1644455

In my Child-theme style.css

I get back to you on monday av show you without my override.
I had to show my client today a working layout. Thats why i coundnt remove it today.

As my screenshots shows before is whats happening. If I remove my styles.

See you at monday

#1645917

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Patrik

I'm actually off for a couple of days, I'll be back Wednesday and I can look at it then.

Or someone should be looking in on my queue in my absence.

#1648761

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

I see that the CSS is still added.

Is it okay for me to temporarily remove it so that I can see the problem?

#1652241
looks OK.jpg
after refrech.jpg

Hi again,
The problem in this ticket was "fixed" by go with an other approach how i have the filter and results instead. i go for one with both...

But now, i find the same issue on an other view...

I save the view (content template) Go to frontpage, refresh to se the result. looks lika i want. Frefresh again, all styles is gone...
Refresh a couple of times, same un-styled view.
Go back to the content template and re-save. Back to frontpage, refresh, looks nice again, refresh - back to un-styled.
I have no cache plugin installed ether.
The view now is "Newsletter archive". the page where the view is used on is on "/press/nyhetsbrev/"

the images is showing the first good look "looks ok.jpg" and after a refresh "after refrech.jpg"

#1653935

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

We have another ticket about something similar when using WPML which has a fix proposed but it hasn't gone through testing yet to be released.

I wanted to check on your site to see if the issue is the same, but the credentials you provided earlier no longer work.

Can I get updated credentials from you?

I've set the next reply to private.

#1654187

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Thanks for that. The set-up is slightly different than the existing ticket, albeit very similar, so I've asked the devloper to confirm that the existing fix will apply in this case too.

I'll keep you posted.

#1654209

Hi,
all my view when crazy! ?

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'icl_object_id' not found or invalid function name in /www/webvol30/ia/gi0yxjao23hkbk6/h22expo.se/public_html/wp-includes/class-wp-hook.php on line 287

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'icl_object_id' not found or invalid function name in /www/webvol30/ia/gi0yxjao23hkbk6/h22expo.se/public_html/wp-includes/class-wp-hook.php on line 287

EDIT
I saw you inactivated WPML. I have activated again!

#1654217

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Ah, okay, I was just looking I thought that might be the problem but you beat me to it.

Sorry about that.

The topic ‘[Closed] I think i found a bug when using two views in same page.’ is closed to new replies.