Deprecated Function: Compatible with JsonSerializable::jsonSerialize()

Created on 27 November 2023, 7 months ago

Great module! Thanks for the development.

After saving API key. This message displays:
Will there be a port to Drupal 10? More field access?

Deprecated function: Return type of Pipedrive\Models\UserMe::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 15 of /var/www/vendor/pipedrive/pipedrive/src/Models/UserMe.php).

include('/var/www/vendor/pipedrive/pipedrive/src/Models/UserMe.php') (Line: 576)
Composer\Autoload\{closure}('/var/www/vendor/composer/../pipedrive/pipedrive/src/Models/UserMe.php') (Line: 427)
Composer\Autoload\ClassLoader->loadClass('Pipedrive\Models\UserMe')
class_exists('Pipedrive\Models\UserMe') (Line: 301)
apimatic\jsonmapper\JsonMapper->mapClass(Object, 'Pipedrive\Models\UserMe') (Line: 276)
Pipedrive\Controllers\UsersController->getCurrentUserData() (Line: 51)
Drupal\pipedrive\Form\SettingsForm->validateForm(Array, Object)
call_user_func_array(Array, Array) (Line: 82)
Drupal\Core\Form\FormValidator->executeValidateHandlers(Array, Object) (Line: 275)
Drupal\Core\Form\FormValidator->doValidateForm(Array, Object, 'pipedrive_settings') (Line: 118)
Drupal\Core\Form\FormValidator->validateForm('pipedrive_settings', Array, Object) (Line: 593)
Drupal\Core\Form\FormBuilder->processForm('pipedrive_settings', Array, Object) (Line: 325)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States kenfordesign

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024