Skip Navigation

[Resolved] Warning: get_class() expects parameter 1 to be object../interop/handler/the7.php

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

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 6 replies, has 2 voices.

Last updated by Beda 6 years, 9 months ago.

Assisted by: Beda.

Author
Posts
#623874
2018-03-10_0058.png

I am trying to: put a types field in a The7 WPBakery Page Builder text block

Link to a page where the issue can be seen:

I expected to see: the field on the text block

Instead, I got: a window with a repeated list of Warning: get_class() expects parameter 1 to be object, string given in /var/www/vhost/caldesdeboi.com/home/html/wp-content/plugins/types/application/controllers/interop/handler/the7.php on line 78

#623957

This was reported once for Layouts as well, but unfortunately, the supporter assigned did not manage to solve this:
https://toolset.com/es/forums/topic/errors-creating-a-layout-adding-a-custom-field/

Now, I looked into the code mentioned by the error and it seems, that there is something wrong there.
As parameter we pass a $function[0], so generally speaking, probably a string (part of the array).

In my local tests, I cannot yet replicate this issue since the WP Bakery version by The7 is a paid version and I do not own a The7 license.

Can you help me with this?
I would need a copy of this theme and the required plugin (I have the theme already).

Then, I can replicate this, and if it's a BUG, escalate it.

Maybe, you have a duplicator package and can attach it, describing what I need to do to see the issue.
https://toolset.com/faq/provide-supporters-copy-site/

In any case, to fix this, I'll need a copy of the involved software.
If it's not possible to provide them I can try to get one from the Developers directly, but that'll take more time.

#624339

Hello Beda, thanks for your interest.

Do I have to put here the links to the duplicator files and the necessary users and passwords to access both the files and the wordpress administrator?

#624597

Yes, as outlined here:
https://toolset.com/faq/provide-supporters-copy-site/

I activated a private reply.

Now you can upload your Duplicator package to Google Drive, share that zip folder with "anyone who has this link" and then pass it to me here in the forum.

I will download it and then proceed.

#624609

Entendi el problema.

Pero, no puedo replicarlo aqui localmente.
Todo funciona como debe.

Como explique, el problema ya se conoce:
https://toolset.com/es/forums/topic/errors-creating-a-layout-adding-a-custom-field/

Pero, no tenemos los datos para replicarlo.

Por esto, requiri una copia de tu sitio.
Esto podria me ayudar a repliar y solver el problema.

#624697

Hello Beda,

Have you been able to install the copy locally?

Thank you!

#624879
Bildschirmfoto 2018-03-14 um 07.32.44.png

Si, por favor desculpame el retrazo.

He replicado el sitio, pero aqui puedo inserir un campo de Types sin errores en los bloques de texto de The7 WPBakery Page Builder.

Me podrias indicar los pasos exactos que utilizas a replicar el problema?