Deprecated function: Creation of dynamic property Cleantalk\Custom\Db\Db::$db_result is deprecated in Cleantalk\Custom\Db\Db->fetchAll() (Zeile 81 in /web/modules/contrib/cleantalk/lib/Cleantalk/Custom/Db/Db.php)

Related issue: #3385483: Deprecated function: Creation of dynamic property Cleantalk\Common\Firewall\Modules\Sfw::$set_cookies

CommentFileSizeAuthor
#4 cleantalk_incompatibility-3401949.patch420 byteschetan 11

Issue fork cleantalk-3401949

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

agoradesign created an issue. See original summary.

znaeff’s picture

Hello agoradesign,

We'll check it within 5 business days and let you know about the results.

chetan 11 made their first commit to this issue’s fork.

chetan 11’s picture

Status: Active » Needs review
StatusFileSize
new420 bytes

Hi
I have fixed the above Deprecated function error, please check the attached patch.
Thanks.

znaeff’s picture

Thank you chetan 11, we'll check your patch and let you know about the results.

agoradesign’s picture

btw, I do have one question: these classes within the "lib" directory - is this a general PHP library of CleanTalk? And if yes, wouldn't it be better for both your devs and us users, if load this as Composer dependency (in version 10.x)?

znaeff’s picture

agoradesign, no, you can not. This is our library and as we develop we sometimes change the rest of the plugin code. Users cannot update the library separately from the plugin.

znaeff’s picture

Hello chetan 11,
We have added your patch to our repository.
Thank you.

znaeff’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.