Closed racerguy closed 1 year ago
Same issue when trying to get the oauth link.
Getting: Can't Config Environments from passed parameters
but it's a blanket error for the actual error that is a dynamic property creation by the sdk.
It does not seem php 8.2 compatible at all.
I've found when the exception is triggered... It's in the file LocalConfigReader.php
on line 124 when the logger is setup:
LocalConfigReader::setupLogger($ippConfig, $defaultLoggingLocation, "TRUE");
The exception is : Creation of dynamic property QuickBooksOnline\API\Diagnostics\LoggerBase::$ServiceRequestLoggingLocation is deprecated
So what I would propose is simply add this in the LoggerBase.php file before the class creation:
use QuickBooksOnline\API\Core\CoreConstants;
use \AllowDynamicProperties;
#[AllowDynamicProperties]
class LoggerBase
{
We are waiting for the same fix
Getting the same error; hoping for a fix soon.
Same error here - what is taking so long to fix this? The fix is rather simple.
We are also experiencing this, @sujitharamadass any update on this?
@poolsimon We will update you soon
The fix will be released soon
Fixed in version 6.1.2
Creation of dynamic property QuickBooksOnline\API\Diagnostics\LoggerBase::$ServiceRequestLoggingLocation is deprecated in vendor/quickbooks/v3-php-sdk/src/Core/Configuration/LocalConfigReader.php on line 417.
Creation of dynamic property QuickBooksOnline\API\Data\IPPBatchItemRequest::$operationSpecified is deprecated in vendor/quickbooks/v3-php-sdk/src/DataService/Batch.php on line 230.
Creation of dynamic property QuickBooksOnline\API\Data\IPPBatchItemRequest::$operationSpecified is deprecated in vendor/quickbooks/v3-php-sdk/src/DataService/Batch.php on line 230.