I’ve encountered a deprecation warning in PHP related to a dynamic property being created in the VirtueMartCart class within the CSVI VirtueMart addon:
Deprecated: Creation of dynamic property VirtueMartCart::$confirmDone is deprecated in plugins/csviaddon/virtuemart/com_virtuemart/helper/cart.php on line 112
However, confirmDone is not a declared property of the class. There is already a declared property named _confirmDone, which seems to be the correct one. Replacing:
$this->confirmDone = false;
with:
$this->_confirmDone = false;
Resolves the warning and follows the class structure. Please consider fixing this in the official codebase for full compatibility with PHP 8.2+.
Kind regards
Chris
Hello Chris,
Thank you. We have applied this change and it will be included in upcoming RO CSVI release.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Log in to reply to this topic.