0
Welcome Guest! Login
0 items Join Now

Creation of dynamic property .....ReadOnlyStream::$context is deprecated

  • Creation of dynamic property .....ReadOnlyStream::$context is deprecated

    Posted 1 year 1 month ago
    • Hello
      I migrated a site from J3 to Joomla 4.2.9 and I get this error message when I want to access the BreezingForms contact form.

      The maximum error report says this:

      Whoops\Exception\ErrorException thrown with message "Creation of dynamic property RocketTheme\Toolbox\StreamWrapper\ReadOnlyStream::$context is deprecated"

      Stacktrace:
      #27 Whoops\Exception\ErrorException in /home/httpd/vhosts/**************.**/httpsdocs/libraries/gantry5/src/classes/Gantry/Framework/Atoms.php:73
      #26 file_exists in /home/httpd/vhosts/**************.**/httpsdocs/libraries/gantry5/src/classes/Gantry/Framework/Atoms.php:73
      #25 Gantry\Framework\Atoms:__construct in /home/httpd/vhosts/**************.**/httpsdocs/libraries/gantry5/src/classes/Gantry/Framework/Services/ConfigServiceProvider.php:142
      #24 Gantry\Framework\Services\ConfigServiceProvider:load in /home/httpd/vhosts/**************.**/httpsdocs/libraries/gantry5/src/classes/Gantry/Component/Theme/ThemeTrait.php:168
      #23 Gantry\Framework\Theme:setLayout in /home/httpd/vhosts/**************.**/httpsdocs/templates/rt_clarity/error.php:40
      #22 require in /home/httpd/vhosts/**************.**/httpsdocs/libraries/src/Document/HtmlDocument.php:736
      #21 Joomla\CMS\Document\HtmlDocument:_loadTemplate in /home/httpd/vhosts/**************.**/httpsdocs/libraries/src/Document/HtmlDocument.php:791
      #20 Joomla\CMS\Document\HtmlDocument:_fetchTemplate in /home/httpd/vhosts/**************.**/httpsdocs/libraries/src/Document/HtmlDocument.php:608
      #19 Joomla\CMS\Document\HtmlDocument:parse in /home/httpd/vhosts/**************.**/httpsdocs/libraries/src/Document/HtmlDocument.php:626
      #18 Joomla\CMS\Document\HtmlDocument:render in /home/httpd/vhosts/**************.**/httpsdocs/libraries/src/Document/ErrorDocument.php:139
      #17 Joomla\CMS\Document\ErrorDocument:render in /home/httpd/vhosts/**************.**/httpsdocs/libraries/src/Error/Renderer/HtmlRenderer.php:70
      #16 Joomla\CMS\Error\Renderer\HtmlRenderer:render in /home/httpd/vhosts/**************.**/httpsdocs/libraries/src/Exception/ExceptionHandler.php:121
      #15 Joomla\CMS\Exception\ExceptionHandler:render in /home/httpd/vhosts/**************.**/httpsdocs/libraries/src/Exception/ExceptionHandler.php:72
      #14 Joomla\CMS\Exception\ExceptionHandler:handleException in /home/httpd/vhosts/**************.**/httpsdocs/libraries/src/Application/CMSApplication.php:323
      #13 Whoops\Exception\ErrorException in /home/httpd/vhosts/**************.**/httpsdocs/libraries/gantry5/src/classes/Gantry/Framework/Atoms.php:73
      #12 file_exists in /home/httpd/vhosts/**************.**/httpsdocs/libraries/gantry5/src/classes/Gantry/Framework/Atoms.php:73
      #11 Gantry\Framework\Atoms:__construct in /home/httpd/vhosts/**************.**/httpsdocs/libraries/gantry5/src/classes/Gantry/Framework/Services/ConfigServiceProvider.php:142
      #10 Gantry\Framework\Services\ConfigServiceProvider:load in /home/httpd/vhosts/**************.**/httpsdocs/libraries/gantry5/src/classes/Gantry/Component/Theme/ThemeTrait.php:168
      #9 Gantry\Framework\Theme:setLayout in /home/httpd/vhosts/**************.**/httpsdocs/plugins/system/gantry5/gantry5.php:315
      #8 plgSystemGantry5:onAfterRouteSite in /home/httpd/vhosts/**************.**/httpsdocs/plugins/system/gantry5/gantry5.php:108
      #7 plgSystemGantry5:onAfterRoute in /home/httpd/vhosts/**************.**/httpsdocs/libraries/src/Plugin/CMSPlugin.php:279
      #6 Joomla\CMS\Plugin\CMSPlugin:Joomla\CMS\Plugin\{closure} in /home/httpd/vhosts/**************.**/httpsdocs/libraries/vendor/joomla/event/src/Dispatcher.php:486
      #5 Joomla\Event\Dispatcher:dispatch in /home/httpd/vhosts/**************.**/httpsdocs/libraries/src/Application/EventAware.php:107
      #4 Joomla\CMS\Application\WebApplication:triggerEvent in /home/httpd/vhosts/**************.**/httpsdocs/libraries/src/Application/SiteApplication.php:788
      #3 Joomla\CMS\Application\SiteApplication:route in /home/httpd/vhosts/**************.**/httpsdocs/libraries/src/Application/SiteApplication.php:232
      #2 Joomla\CMS\Application\SiteApplication:doExecute in /home/httpd/vhosts/**************.**/httpsdocs/libraries/src/Application/CMSApplication.php:294
      #1 Joomla\CMS\Application\CMSApplication:execute in /home/httpd/vhosts/**************.**/httpsdocs/includes/app.php:61
      #0 require_once in /home/httpd/vhosts/**************.**/httpsdocs/index.php:32

      The current configuration of the site is as follows:
      PHP : 8.2.4
      Joomla : 4.2.9 Stable
      Gantry 5 : 5.5.15
      Clarity Template : 1.5.0
      BreezingForms Pro (Crosstec.org) : 1.9.1 Stable (944)

      I'm new to PHP and I'm going around in circles.
      Do you have any idea what that might come from?

      Thank
      Best Regards
      Laurent
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: Creation of dynamic property .....ReadOnlyStream::$context is deprecated

    Posted 1 year 1 month ago
    • Downgrade to php 8.0.x

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: Creation of dynamic property .....ReadOnlyStream::$context is deprecated

    Posted 1 year 1 month ago
    • Thank you
      I went back to PHP 8.0, cleared the cache and the error message persists.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: Creation of dynamic property .....ReadOnlyStream::$context is deprecated

    Posted 1 year 1 month ago
    • Please would you post your URL, superuser id and pswd in the secure tab of your post and I'll have a look for you

      Please post your FTP logon, password and FTP URL in the secure area of your post.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: Creation of dynamic property .....ReadOnlyStream::$context is deprecated

    Posted 1 year 1 month ago
    • This message contains only secure information that is visible to MrT, moderators and administrators
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: Creation of dynamic property .....ReadOnlyStream::$context is deprecated

    Posted 1 year 1 month ago
    • Login does not work - please check.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: Creation of dynamic property .....ReadOnlyStream::$context is deprecated

    Posted 1 year 1 month ago
    • This message contains only secure information that is visible to MrT, moderators and administrators
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: Creation of dynamic property .....ReadOnlyStream::$context is deprecated

    Posted 1 year 1 month ago
    • So, I’ve installed the latest CI Build of Gantry 5.5.16 which we are testing before release. We did encounter some issues and have resolved them now with this build. It does seem to have resolved your original issue BUT it is now breezing forms itself that is causing the error now shown - so you need to contact the developer of that product for assistance as it would appear that their product is not compatible with J4.2.9.

      Regards, Mark.
    • The following users have thanked you: Laurent Loeffel

    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.

Time to create page: 0.049 seconds