Skip to content Skip to sidebar

This topic contains 0 reply, has 1 voice.

Last updated by Paolo Sax 5 months, 1 week ago.

Assisted by: Paola Mendiburu.

Author Posts
July 21, 2025 at 9:14 am #17254330

Paolo Sax

Background of the issue:
I was trying to deregister and register again WPML in a local dev installation because it keeps generating syntax errors in the WordPress REST API. However, when accessing the Plugin -> Commercial tab, I encountered an error. I expected to see the link to unregister the plugin.

Symptoms:
Uncaught Error: OTGSInstallerCollection::of(): Argument #1 ($array) must be of type array, null given, called in C:laragonwwwbewebbi-starterwebapppluginssitepress-multilingual-cmsvendorotgsinstallerincludesclass-wp-installer.php on line 1451 in C:laragonwwwbewebbi-starterwebapppluginssitepress-multilingual-cmsvendorotgsinstallerincludesutilitiesCollection.php on line 27.

Questions:
How can I resolve the error in the Commercial tab when trying to deregister and register WPML?
What causes the syntax errors in the WordPress REST API related to WPML?

The topic ‘[Closed] Error in Commercial tab plugin : Uncaught Error: OTGSInstallerCollection::of()’ is closed to new replies.