Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated functions on PHP 8.1 #88

Closed
kumudamulgund opened this issue Nov 17, 2021 · 11 comments
Closed

Deprecated functions on PHP 8.1 #88

kumudamulgund opened this issue Nov 17, 2021 · 11 comments

Comments

@kumudamulgund
Copy link

Deprecated function: Return type of
Postmark\Models\CaseInsensitiveArray::offsetExists($offset)
should either be compatible with ArrayAccess::offsetExists(mixed $offset):
bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in include()

Deprecated function:
Return type of Postmark\Models\CaseInsensitiveArray::offsetGet($offset)
should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed,
or the #[\ReturnTypeWillChange] attribute
should be used to temporarily suppress
the notice in include()

started Getting Notices when upgraded to 8.1

@malles
Copy link

malles commented Jan 29, 2022

In addition to all the iterator functions of the CaseInsensitiveArray I also get a deprecation warning for the PostmarkAttachment class.

Return type of Postmark\Models\PostmarkAttachment::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Projects\ferm\we_score\vendor\wildbit\postmark-php\src\Postmark\Models\PostmarkAttachment.php on line 24

Is there any progress to expect on the PHP 8.1 compatibility?

@malles
Copy link

malles commented Feb 18, 2022

@jchoca Sorry to jump in to this, but could you have a look at this, or ping the correct people at Wildbit?
At the moment it is holding back server upgrades.

@pgraham3
Copy link
Contributor

pgraham3 commented Mar 1, 2022

Hello @malles! I am attempting to help get this library up to date for PHP 8.x.

I have a PR for suppressing these reported deprecation warnings (#95).

Can you try it out with your use case(s) and let me know if you see any other functions that need suppression still?

Since we still support 7.x we need to suppress these for now, as older PHP versions do not support using the mixed return type.

@malles
Copy link

malles commented Mar 10, 2022

Thank you for picking this up! I do get some more warnings about return types in CaseInsensitiveArray.

[2022-03-10 21:45:56] local.WARNING: Return type of Postmark\Models\CaseInsensitiveArray::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Projects\ferm\we_score\vendor\wildbit\postmark-php\src\Postmark\Models\CaseInsensitiveArray.php on line 27  
[2022-03-10 21:45:56] local.WARNING: Return type of Postmark\Models\CaseInsensitiveArray::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Projects\ferm\we_score\vendor\wildbit\postmark-php\src\Postmark\Models\CaseInsensitiveArray.php on line 48  
[2022-03-10 21:45:56] local.WARNING: Return type of Postmark\Models\CaseInsensitiveArray::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Projects\ferm\we_score\vendor\wildbit\postmark-php\src\Postmark\Models\CaseInsensitiveArray.php on line 65  
[2022-03-10 21:45:56] local.WARNING: Return type of Postmark\Models\CaseInsensitiveArray::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Projects\ferm\we_score\vendor\wildbit\postmark-php\src\Postmark\Models\CaseInsensitiveArray.php on line 76  
[2022-03-10 21:45:56] local.WARNING: Return type of Postmark\Models\CaseInsensitiveArray::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Projects\ferm\we_score\vendor\wildbit\postmark-php\src\Postmark\Models\CaseInsensitiveArray.php on line 71  
[2022-03-10 21:45:56] local.WARNING: Return type of Postmark\Models\CaseInsensitiveArray::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Projects\ferm\we_score\vendor\wildbit\postmark-php\src\Postmark\Models\CaseInsensitiveArray.php on line 84  
[2022-03-10 21:45:56] local.WARNING: Return type of Postmark\Models\CaseInsensitiveArray::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Projects\ferm\we_score\vendor\wildbit\postmark-php\src\Postmark\Models\CaseInsensitiveArray.php on line 80  

That is what would fix it for my code path, but I'm not sure if that is sufficient for all users. Pullrequest #90 for example is about warnings in DynamicResponseModel.

@pgraham3
Copy link
Contributor

pgraham3 commented Mar 15, 2022

Thanks so much @malles. I just updated this PR with the additional suppressions for these and what was mentioned in PR #90 .

Let me know if it looks good for you now.

@malles
Copy link

malles commented Mar 15, 2022

Thanks again. I think this will stop most immediate bleeding. I do think it would be wise to consider #94 to further future proof this package.

@pgraham3
Copy link
Contributor

I agree @malles!

I don't feel I am best qualified to review that PR / merge it due to it's size and complexity but will definitely bring it up to other folks here at Wildbit to see how we can get it in. Looks to be a massive effort that is very appreciated.

cc @gsteel @tomazy

@pgraham3
Copy link
Contributor

#95 has been merged.

@anobjectn
Copy link

anobjectn commented Oct 25, 2022

I see the issue was closed months ago however I'm seeing these errors in the Postmark Drupal module version 8.x-1.1 , Drupal 9.4.8 , PHP 8.1.11 on Apache 2.4.54

Deprecated function: Return type of Postmark\Models\CaseInsensitiveArray::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 10 of vendor/wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php). Deprecated function: Return type of Postmark\Models\CaseInsensitiveArray::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 10 of vendor/wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php). Deprecated function: Return type of Postmark\Models\CaseInsensitiveArray::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 10 of vendor/wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php). Deprecated function: Return type of Postmark\Models\CaseInsensitiveArray::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 10 of vendor/wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php). Deprecated function: Return type of Postmark\Models\CaseInsensitiveArray::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 10 of vendor/wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php). Deprecated function: Return type of Postmark\Models\CaseInsensitiveArray::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 10 of vendor/wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php). Deprecated function: Return type of Postmark\Models\CaseInsensitiveArray::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 10 of vendor/wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php). Deprecated function: Return type of Postmark\Models\CaseInsensitiveArray::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 10 of vendor/wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php). Deprecated function: Return type of Postmark\Models\CaseInsensitiveArray::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 10 of vendor/wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php).

@alphex
Copy link

alphex commented Jan 6, 2023

Drupal 9.5.1, PHP 8.1
Seeing a similar message that @anobjectn is seeing.

Deprecated function: Return type of Postmark\Models\CaseInsensitiveArray::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 10 of /app/vendor/wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php).
include('/app/vendor/wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php') (Line: 571)
Composer\Autoload\includeFile('/app/vendor/composer/../wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php') (Line: 428)
Composer\Autoload\ClassLoader->loadClass('Postmark\Models\CaseInsensitiveArray') (Line: 24)
include('/app/vendor/wildbit/postmark-php/src/Postmark/Models/DynamicResponseModel.php') (Line: 571)
Composer\Autoload\includeFile('/app/vendor/composer/../wildbit/postmark-php/src/Postmark/Models/DynamicResponseModel.php') (Line: 428)
Composer\Autoload\ClassLoader->loadClass('Postmark\Models\DynamicResponseModel') (Line: 73)
Postmark\PostmarkClient->sendEmail('kristi@worksinstone.com', 'duran@alphex.com', Object, NULL, Object, NULL, , NULL, NULL, NULL) (Line: 90)
Drupal\postmark\PostmarkHandler->sendMail(Array) (Line: 152)
Drupal\postmark\Form\PostmarkSettingsForm->submitForm(Array, Object)
call_user_func_array(Array, Array) (Line: 114)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 52)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 595)
Drupal\Core\Form\FormBuilder->processForm('postmark_settings_form', Array, Object) (Line: 323)
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: 713)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Deprecated function: Return type of Postmark\Models\CaseInsensitiveArray::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 10 of /app/vendor/wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php).
include('/app/vendor/wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php') (Line: 571)
Composer\Autoload\includeFile('/app/vendor/composer/../wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php') (Line: 428)
Composer\Autoload\ClassLoader->loadClass('Postmark\Models\CaseInsensitiveArray') (Line: 24)
include('/app/vendor/wildbit/postmark-php/src/Postmark/Models/DynamicResponseModel.php') (Line: 571)
Composer\Autoload\includeFile('/app/vendor/composer/../wildbit/postmark-php/src/Postmark/Models/DynamicResponseModel.php') (Line: 428)
Composer\Autoload\ClassLoader->loadClass('Postmark\Models\DynamicResponseModel') (Line: 73)
Postmark\PostmarkClient->sendEmail('kristi@worksinstone.com', 'duran@alphex.com', Object, NULL, Object, NULL, , NULL, NULL, NULL) (Line: 90)
Drupal\postmark\PostmarkHandler->sendMail(Array) (Line: 152)
Drupal\postmark\Form\PostmarkSettingsForm->submitForm(Array, Object)
call_user_func_array(Array, Array) (Line: 114)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 52)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 595)
Drupal\Core\Form\FormBuilder->processForm('postmark_settings_form', Array, Object) (Line: 323)
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: 713)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Deprecated function: Return type of Postmark\Models\CaseInsensitiveArray::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 10 of /app/vendor/wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php).
include('/app/vendor/wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php') (Line: 571)
Composer\Autoload\includeFile('/app/vendor/composer/../wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php') (Line: 428)
Composer\Autoload\ClassLoader->loadClass('Postmark\Models\CaseInsensitiveArray') (Line: 24)
include('/app/vendor/wildbit/postmark-php/src/Postmark/Models/DynamicResponseModel.php') (Line: 571)
Composer\Autoload\includeFile('/app/vendor/composer/../wildbit/postmark-php/src/Postmark/Models/DynamicResponseModel.php') (Line: 428)
Composer\Autoload\ClassLoader->loadClass('Postmark\Models\DynamicResponseModel') (Line: 73)
Postmark\PostmarkClient->sendEmail('kristi@worksinstone.com', 'duran@alphex.com', Object, NULL, Object, NULL, , NULL, NULL, NULL) (Line: 90)
Drupal\postmark\PostmarkHandler->sendMail(Array) (Line: 152)
Drupal\postmark\Form\PostmarkSettingsForm->submitForm(Array, Object)
call_user_func_array(Array, Array) (Line: 114)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 52)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 595)
Drupal\Core\Form\FormBuilder->processForm('postmark_settings_form', Array, Object) (Line: 323)
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: 713)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Deprecated function: Return type of Postmark\Models\CaseInsensitiveArray::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 10 of /app/vendor/wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php).
include('/app/vendor/wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php') (Line: 571)
Composer\Autoload\includeFile('/app/vendor/composer/../wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php') (Line: 428)
Composer\Autoload\ClassLoader->loadClass('Postmark\Models\CaseInsensitiveArray') (Line: 24)
include('/app/vendor/wildbit/postmark-php/src/Postmark/Models/DynamicResponseModel.php') (Line: 571)
Composer\Autoload\includeFile('/app/vendor/composer/../wildbit/postmark-php/src/Postmark/Models/DynamicResponseModel.php') (Line: 428)
Composer\Autoload\ClassLoader->loadClass('Postmark\Models\DynamicResponseModel') (Line: 73)
Postmark\PostmarkClient->sendEmail('kristi@worksinstone.com', 'duran@alphex.com', Object, NULL, Object, NULL, , NULL, NULL, NULL) (Line: 90)
Drupal\postmark\PostmarkHandler->sendMail(Array) (Line: 152)
Drupal\postmark\Form\PostmarkSettingsForm->submitForm(Array, Object)
call_user_func_array(Array, Array) (Line: 114)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 52)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 595)
Drupal\Core\Form\FormBuilder->processForm('postmark_settings_form', Array, Object) (Line: 323)
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: 713)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Deprecated function: Return type of Postmark\Models\CaseInsensitiveArray::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 10 of /app/vendor/wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php).
include('/app/vendor/wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php') (Line: 571)
Composer\Autoload\includeFile('/app/vendor/composer/../wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php') (Line: 428)
Composer\Autoload\ClassLoader->loadClass('Postmark\Models\CaseInsensitiveArray') (Line: 24)
include('/app/vendor/wildbit/postmark-php/src/Postmark/Models/DynamicResponseModel.php') (Line: 571)
Composer\Autoload\includeFile('/app/vendor/composer/../wildbit/postmark-php/src/Postmark/Models/DynamicResponseModel.php') (Line: 428)
Composer\Autoload\ClassLoader->loadClass('Postmark\Models\DynamicResponseModel') (Line: 73)
Postmark\PostmarkClient->sendEmail('kristi@worksinstone.com', 'duran@alphex.com', Object, NULL, Object, NULL, , NULL, NULL, NULL) (Line: 90)
Drupal\postmark\PostmarkHandler->sendMail(Array) (Line: 152)
Drupal\postmark\Form\PostmarkSettingsForm->submitForm(Array, Object)
call_user_func_array(Array, Array) (Line: 114)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 52)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 595)
Drupal\Core\Form\FormBuilder->processForm('postmark_settings_form', Array, Object) (Line: 323)
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: 713)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Deprecated function: Return type of Postmark\Models\CaseInsensitiveArray::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 10 of /app/vendor/wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php).
include('/app/vendor/wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php') (Line: 571)
Composer\Autoload\includeFile('/app/vendor/composer/../wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php') (Line: 428)
Composer\Autoload\ClassLoader->loadClass('Postmark\Models\CaseInsensitiveArray') (Line: 24)
include('/app/vendor/wildbit/postmark-php/src/Postmark/Models/DynamicResponseModel.php') (Line: 571)
Composer\Autoload\includeFile('/app/vendor/composer/../wildbit/postmark-php/src/Postmark/Models/DynamicResponseModel.php') (Line: 428)
Composer\Autoload\ClassLoader->loadClass('Postmark\Models\DynamicResponseModel') (Line: 73)
Postmark\PostmarkClient->sendEmail('kristi@worksinstone.com', 'duran@alphex.com', Object, NULL, Object, NULL, , NULL, NULL, NULL) (Line: 90)
Drupal\postmark\PostmarkHandler->sendMail(Array) (Line: 152)
Drupal\postmark\Form\PostmarkSettingsForm->submitForm(Array, Object)
call_user_func_array(Array, Array) (Line: 114)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 52)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 595)
Drupal\Core\Form\FormBuilder->processForm('postmark_settings_form', Array, Object) (Line: 323)
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: 713)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Deprecated function: Return type of Postmark\Models\CaseInsensitiveArray::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 10 of /app/vendor/wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php).
include('/app/vendor/wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php') (Line: 571)
Composer\Autoload\includeFile('/app/vendor/composer/../wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php') (Line: 428)
Composer\Autoload\ClassLoader->loadClass('Postmark\Models\CaseInsensitiveArray') (Line: 24)
include('/app/vendor/wildbit/postmark-php/src/Postmark/Models/DynamicResponseModel.php') (Line: 571)
Composer\Autoload\includeFile('/app/vendor/composer/../wildbit/postmark-php/src/Postmark/Models/DynamicResponseModel.php') (Line: 428)
Composer\Autoload\ClassLoader->loadClass('Postmark\Models\DynamicResponseModel') (Line: 73)
Postmark\PostmarkClient->sendEmail('kristi@worksinstone.com', 'duran@alphex.com', Object, NULL, Object, NULL, , NULL, NULL, NULL) (Line: 90)
Drupal\postmark\PostmarkHandler->sendMail(Array) (Line: 152)
Drupal\postmark\Form\PostmarkSettingsForm->submitForm(Array, Object)
call_user_func_array(Array, Array) (Line: 114)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 52)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 595)
Drupal\Core\Form\FormBuilder->processForm('postmark_settings_form', Array, Object) (Line: 323)
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: 713)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Deprecated function: Return type of Postmark\Models\CaseInsensitiveArray::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 10 of /app/vendor/wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php).
include('/app/vendor/wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php') (Line: 571)
Composer\Autoload\includeFile('/app/vendor/composer/../wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php') (Line: 428)
Composer\Autoload\ClassLoader->loadClass('Postmark\Models\CaseInsensitiveArray') (Line: 24)
include('/app/vendor/wildbit/postmark-php/src/Postmark/Models/DynamicResponseModel.php') (Line: 571)
Composer\Autoload\includeFile('/app/vendor/composer/../wildbit/postmark-php/src/Postmark/Models/DynamicResponseModel.php') (Line: 428)
Composer\Autoload\ClassLoader->loadClass('Postmark\Models\DynamicResponseModel') (Line: 73)
Postmark\PostmarkClient->sendEmail('kristi@worksinstone.com', 'duran@alphex.com', Object, NULL, Object, NULL, , NULL, NULL, NULL) (Line: 90)
Drupal\postmark\PostmarkHandler->sendMail(Array) (Line: 152)
Drupal\postmark\Form\PostmarkSettingsForm->submitForm(Array, Object)
call_user_func_array(Array, Array) (Line: 114)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 52)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 595)
Drupal\Core\Form\FormBuilder->processForm('postmark_settings_form', Array, Object) (Line: 323)
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: 713)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Deprecated function: Return type of Postmark\Models\CaseInsensitiveArray::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 10 of /app/vendor/wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php).
include('/app/vendor/wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php') (Line: 571)
Composer\Autoload\includeFile('/app/vendor/composer/../wildbit/postmark-php/src/Postmark/Models/CaseInsensitiveArray.php') (Line: 428)
Composer\Autoload\ClassLoader->loadClass('Postmark\Models\CaseInsensitiveArray') (Line: 24)
include('/app/vendor/wildbit/postmark-php/src/Postmark/Models/DynamicResponseModel.php') (Line: 571)
Composer\Autoload\includeFile('/app/vendor/composer/../wildbit/postmark-php/src/Postmark/Models/DynamicResponseModel.php') (Line: 428)
Composer\Autoload\ClassLoader->loadClass('Postmark\Models\DynamicResponseModel') (Line: 73)
Postmark\PostmarkClient->sendEmail('kristi@worksinstone.com', 'duran@alphex.com', Object, NULL, Object, NULL, , NULL, NULL, NULL) (Line: 90)
Drupal\postmark\PostmarkHandler->sendMail(Array) (Line: 152)
Drupal\postmark\Form\PostmarkSettingsForm->submitForm(Array, Object)
call_user_func_array(Array, Array) (Line: 114)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 52)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 595)
Drupal\Core\Form\FormBuilder->processForm('postmark_settings_form', Array, Object) (Line: 323)
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: 713)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

@alphex
Copy link

alphex commented Jan 6, 2023

And... we gotta go to the postmark module developers.... They're still requiring ^2.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants