Jump to content

Recommended Posts

Posted

I'm currently building a website where i've installed the Formbuilder module. Ideally the entries that are added to the form, will be added to a Google Sheet that i've created.

I setup the Google Client API module without any issues. Now that i'm configuring the form in Formbuilder I get an error when I try to save the page:
 

Fatal Error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in site/assets/GoogleClientAPI/google-api-php-client/src/Google/Service/Resource.php:297

Is there a way to solve this error message?

  • combicart changed the title to Google Client API - Formbuilder error
Posted

I think you could try installing a more recent version of the Google API client that is php 8+ ready, cause that seems to be a 8+ error and from the path i can tell it's the google library that is being an issue.

  • Like 1
Posted

Thanks both for helping out! I tried to install the most recent version (which supports PHP 8.3), however it seems like they have changed some things in the code that aren't updated in the Processwire GoogleClientAPI yet. So both can't work together without making some adjustments to the module.

The answer from @Luis S. does the trick and solves the issue. Thanks!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...