combicart Posted May 29 Share Posted May 29 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? Link to comment Share on other sites More sharing options...
elabx Posted May 29 Share Posted May 29 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. 1 Link to comment Share on other sites More sharing options...
Luis S. Posted May 29 Share Posted May 29 @combicart, check Ryan response at this post: 2 Link to comment Share on other sites More sharing options...
combicart Posted June 6 Author Share Posted June 6 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! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now