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 Functionality: strtotime() #739

Open
gerben86 opened this issue Jan 6, 2023 · 0 comments
Open

Deprecated Functionality: strtotime() #739

gerben86 opened this issue Jan 6, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@gerben86
Copy link
Contributor

gerben86 commented Jan 6, 2023

Plugin version

4.8.0

Magento version

2.4.5p1

PHP version

8.1

What went wrong?

See the error log. Can this also be the reason that brievenbuspakjes aren't working at all on my system?

Reproduction steps

  1. Navigate to ...
  2. Click on ...
  3. See ...

Relevant log output

main.CRITICAL: Exception: Deprecated Functionality: strtotime(): Passing null to parameter #1 ($datetime) of type string is deprecated in vendor/myparcelnl/magento/Block/Sales/View.php on line 81 in vendor/magento/framework/App/ErrorHandler.php:62
Stack trace:
#0 [internal function]: Magento\Framework\App\ErrorHandler->handler()
#1 vendor/myparcelnl/magento/Block/Sales/View.php(81): strtotime()
#2 var/view_preprocessed/pub/static/vendor/myparcelnl/magento/view/adminhtml/templates/order_view.phtml(1): MyParcelNL\Magento\Block\Sales\View->getCheckoutOptionsHtml()
#3 vendor/magento/framework/View/TemplateEngine/Php.php(71): include('...')
#4 vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\TemplateEngine\Php->render()
#5 vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent()
#6 vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception\{closure}()
#7 generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(23): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callPlugins()
#8 vendor/magento/framework/View/Element/Template.php(263): Magento\Framework\View\TemplateEngine\Php\Interceptor->render()
#9 vendor/magento/framework/View/Element/Template.php(293): Magento\Framework\View\Element\Template->fetchView()
#10 vendor/magento/module-backend/Block/Template.php(141): Magento\Framework\View\Element\Template->_toHtml()
#11 vendor/magento/framework/View/Element/AbstractBlock.php(1095): Magento\Backend\Block\Template->_toHtml()
#12 vendor/magento/framework/View/Element/AbstractBlock.php(1099): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}()
#13 vendor/magento/framework/View/Element/AbstractBlock.php(660): Magento\Framework\View\Element\AbstractBlock->_loadCache()
#14 vendor/magento/framework/View/Layout.php(578): Magento\Framework\View\Element\AbstractBlock->toHtml()
#15 vendor/magento/framework/View/Layout.php(555): Magento\Framework\View\Layout->_renderBlock()

Additional context

No response

@gerben86 gerben86 added the bug Something isn't working label Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant