Skip Navigation

[Resolved] Install plugin error Divi

This support ticket is created 3 years, 4 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
- 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+01:00)

This topic contains 14 replies, has 3 voices.

Last updated by YannS6273 3 years, 4 months ago.

Assisted by: Nigel.

Author
Posts
#2245067

I juste want to install Toolset Types on my site like many times but this time I have an error :

Fatal error: Uncaught Error: Class "OTGS\Toolset\Common\Condition\Theme\Divi\IsDiviThemeActive" not found in /home/up2youdev/www/wp-content/plugins/typesOLDOLDOLD/vendor/toolset/toolset-common/inc/autoloaded/interop/shared/page-builders/page-builder-modules.php:48 Stack trace: #0 /home/up2youdev/www/wp-content/plugins/typesOLDOLDOLD/vendor/toolset/toolset-common/inc/autoloaded/interop/mediator.php(40): OTGS\Toolset\Common\Interop\Shared\PageBuilderModules->__construct() #1 /home/up2youdev/www/wp-content/plugins/typesOLDOLDOLD/vendor/toolset/toolset-common/bootstrap.php(397): OTGS\Toolset\Common\Interop\Mediator->initialize() #2 /home/up2youdev/www/wp-content/plugins/typesOLDOLDOLD/vendor/toolset/toolset-common/bootstrap.php(94): Toolset_Common_Bootstrap->register_inc() #3 /home/up2youdev/www/wp-content/plugins/typesOLDOLDOLD/vendor/toolset/toolset-common/bootstrap.php(126): Toolset_Common_Bootstrap->__construct() #4 /home/up2youdev/www/wp-content/plugins/typesOLDOLDOLD/application/controllers/main.php(171): Toolset_Common_Bootstrap::get_instance() #5 /home/up2youdev/www/wp-includes/class-wp-hook.php(303): Types_Main->after_setup_theme() #6 /home/up2youdev/www/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters() #7 /home/up2youdev/www/wp-includes/plugin.php(470): WP_Hook->do_action() #8 /home/up2youdev/www/wp-settings.php(556): do_action() #9 /home/up2youdev/www/wp-config.php(98): require_once('...') #10 /home/up2youdev/www/wp-load.php(50): require_once('...') #11 /home/up2youdev/www/wp-admin/admin.php(34): require_once('...') #12 /home/up2youdev/www/wp-admin/plugins.php(10): require_once('...') #13 {main} thrown in /home/up2youdev/www/wp-content/plugins/typesOLDOLDOLD/vendor/toolset/toolset-common/inc/autoloaded/interop/shared/page-builders/page-builder-modules.php on line 48

I tried older version but still the same.
I deactive all others plugin still the same.

What should I do ?

Thanks

#2245315

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Yann,

Thank you for getting in touch.
Would you mind allowing me to have admin access to the website so that I can have a more detailed look at this for you ?

I've enabled the private fields for your next response.

I will also need to grab a cop of the site as well for local testing.

Thanks,
Shane

#2246409

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Yann,

Thank you for the credentials.

The problem was being caused by running an older version of Types. I went ahead and updated it to the latest version and now it can be activated without any issues.

Please let me know if this helps.
Thanks,
Shane

#2246771

Thanks a lot.

It's strange because I installed the last version I downloaded here.

Thanks a lot for your help

#2246773

My issue is resolved now. Thank you!

#2246891

Hi,

I still have problems :

Warning: include_once(/home/up2youdev/www/wp-content/plugins/types 2/application/models/compatibility/yoast/field/factory.php): Failed to open stream: No such file or directory in /home/up2youdev/www/wp-content/plugins/types 2/vendor/toolset/toolset-common/utility/autoloader.php on line 127

Warning: include_once(): Failed opening '/home/up2youdev/www/wp-content/plugins/types 2/application/models/compatibility/yoast/field/factory.php' for inclusion (include_path='.:/usr/share/php') in /home/up2youdev/www/wp-content/plugins/types 2/vendor/toolset/toolset-common/utility/autoloader.php on line 127

Fatal error: Uncaught ReflectionException: Class "OTGS\Toolset\Types\Compatibility\Yoast\Field\Factory" does not exist in /home/up2youdev/www/wp-content/plugins/types 2/vendor/toolset/toolset-common/lib/auryn/lib/StandardReflector.php:29 Stack trace: #0 /home/up2youdev/www/wp-content/plugins/types 2/vendor/toolset/toolset-common/lib/auryn/lib/StandardReflector.php(29): ReflectionClass->__construct() #1 /home/up2youdev/www/wp-content/plugins/types 2/vendor/toolset/toolset-common/lib/auryn/lib/CachingReflector.php(73): OTGS\Toolset\Common\Auryn\StandardReflector->getParamTypeHint() #2 /home/up2youdev/www/wp-content/plugins/types 2/vendor/toolset/toolset-common/lib/auryn/lib/Injector.php(527): OTGS\Toolset\Common\Auryn\CachingReflector->getParamTypeHint() #3 /home/up2youdev/www/wp-content/plugins/types 2/vendor/toolset/toolset-common/lib/auryn/lib/Injector.php(474): OTGS\Toolset\Common\Auryn\Injector->buildArgFromTypeHint() #4 /home/up2youdev/www/wp-content/plugins/types 2/vendor/toolset/toolset-common/lib/auryn/lib/Injector.php(414): OTGS\Toolset\Common\Auryn\Injector->provisionFuncArgs() #5 /home/up2youdev/www/wp-content/plugins/types 2/vendor/toolset/toolset-common/lib/auryn/lib/Injector.php(373): OTGS\Toolset\Common\Auryn\Injector->provisionInstance() #6 /home/up2youdev/www/wp-content/plugins/types 2/vendor/toolset/toolset-common/lib/auryn/lib/Injector.php(542): OTGS\Toolset\Common\Auryn\Injector->make() #7 /home/up2youdev/www/wp-content/plugins/types 2/vendor/toolset/toolset-common/lib/auryn/lib/Injector.php(474): OTGS\Toolset\Common\Auryn\Injector->buildArgFromTypeHint() #8 /home/up2youdev/www/wp-content/plugins/types 2/vendor/toolset/toolset-common/lib/auryn/lib/Injector.php(639): OTGS\Toolset\Common\Auryn\Injector->provisionFuncArgs() #9 /home/up2youdev/www/wp-content/plugins/types 2/application/bootstrap.php(115): OTGS\Toolset\Common\Auryn\Injector->execute() #10 /home/up2youdev/www/wp-includes/class-wp-hook.php(303): {closure}() #11 /home/up2youdev/www/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters() #12 /home/up2youdev/www/wp-includes/plugin.php(470): WP_Hook->do_action() #13 /home/up2youdev/www/wp-admin/admin.php(374): do_action() #14 /home/up2youdev/www/wp-admin/post.php(12): require_once('...') #15 {main} Next OTGS\Toolset\Common\Auryn\InjectionException: Could not make OTGS\Toolset\Types\Compatibility\Yoast\Field\Repository: Class "OTGS\Toolset\Types\Compatibility\Yoast\Field\Factory" does not exist in /home/up2youdev/www/wp-content/plugins/types 2/vendor/toolset/toolset-common/lib/auryn/lib/Injector.php:422 Stack trace: #0 /home/up2youdev/www/wp-content/plugins/types 2/vendor/toolset/toolset-common/lib/auryn/lib/Injector.php(373): OTGS\Toolset\Common\Auryn\Injector->provisionInstance() #1 /home/up2youdev/www/wp-content/plugins/types 2/vendor/toolset/toolset-common/lib/auryn/lib/Injector.php(542): OTGS\Toolset\Common\Auryn\Injector->make() #2 /home/up2youdev/www/wp-content/plugins/types 2/vendor/toolset/toolset-common/lib/auryn/lib/Injector.php(474): OTGS\Toolset\Common\Auryn\Injector->buildArgFromTypeHint() #3 /home/up2youdev/www/wp-content/plugins/types 2/vendor/toolset/toolset-common/lib/auryn/lib/Injector.php(639): OTGS\Toolset\Common\Auryn\Injector->provisionFuncArgs() #4 /home/up2youdev/www/wp-content/plugins/types 2/application/bootstrap.php(115): OTGS\Toolset\Common\Auryn\Injector->execute() #5 /home/up2youdev/www/wp-includes/class-wp-hook.php(303): {closure}() #6 /home/up2youdev/www/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters() #7 /home/up2youdev/www/wp-includes/plugin.php(470): WP_Hook->do_action() #8 /home/up2youdev/www/wp-admin/admin.php(374): do_action() #9 /home/up2youdev/www/wp-admin/post.php(12): require_once('...') #10 {main} thrown in /home/up2youdev/www/wp-content/plugins/types 2/vendor/toolset/toolset-common/lib/auryn/lib/Injector.php on line 422

When I go to ACF page in admin.

I never had any problems with toolset 🙁

Thanks for your help.

Your access is still active.

#2246981

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Yann,

Can you provide the access credentials again ?

They are automatically removed when the ticket is marked as resolved.

I've enabled the private fields for you to provide me with the details.

Thanks,
Shane

#2248867

Nigel
Supporter

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

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

Hi Yann

Shane is on vacation this week, so let me step in here.

I'm taking a copy of your site to install locally to see if I can reproduce the same problem there and conduct some tests.

I'll get back to you when I have some news.

#2248879

Nigel
Supporter

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

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

How do you install plugins?

On the locally installed copy of your site I was able to access the ACF admin pages without any problems.

But that was using a local version of Types rather than the version you have on your site, so to rule out that the issue could be caused by something wrong with the installation of Types on your server I went to reinstall it.

I deleted the existing install, and then tried to upload the zip file of the current Types version on the Add New plugins page.

But your server doesn't appear to allow it. (I get the error "Le lien suivi est expiré" when I attempt that.)

Which leads me to think that the problem is related to the version of Types you installed.

How did you install Types?

#2248887

Hi.

I uploaded it via ftp but I had the error like I said on my first message.

The actual plugin was installed by Shane so I don't know how he did.

I used types many times and it is the first time I have errors.

Can you help me to make it work ? Let me know if I can do something elsd

#2248891

Nigel
Supporter

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

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

I think the problem is inadequate server settings. I tried to upload a different plugin and saw the error Le fichier téléversé dépasse la directive upload_max_filesize dans php.ini.

Could you update the server settings for upload_max_filesize, which should probably be at least about 16Mb, possibly more depending on what you aim to install on your site.

#2249451

I can't access to the site. I have an Internal Server Error, did you change something online ?

#2249463

Nigel
Supporter

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

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

I hadn't made any changes since I was trying (and failing) to upload a plugin yesterday afternoon, and although I couldn't upload a plugin because the server settings are too small, I was still able to navigate the back end of the site.

I have just now used FTP to try to check the logs on the servers, and I can see the access logs show that requests are generating 500 http codes (an internal server error), but the PHP logs themselves don't report what the errors are.

I tried renaming the plugins directory in case the error arose from one of the plugins somehow, but that didn't help (I've now renamed it back again).

So I don't know what the problem is, I'm afraid, I only undertook "normal" operations.

If the problem doesn't resolve itself, I think you'll need to ask the host if they can identify the problem (and also increase the max upload size at the same time).

#2249465

I'll see with the host and let you know.

Thanks

#2249529

My issue is resolved now. Thank you!
I delete everything and restart from the start and it's ok.
Thanks a lot for the support