Skip to Content Skip to Menu

Undefined Method in AntiSpam

  • kdave321
  • kdave321
  • OFFLINE
  • Posts: 189
  • Thanks: 24
  • Karma: 1
2 years 1 month ago #330675 by kdave321
Undefined Method in AntiSpam was created by kdave321
I have a single entry in #__comprofiler_plugin_antispam_block I made years ago to test this:
Code:
+----+------+-------+---------------------+----------+------------------------+ | id | type | value | date                | duration | reason                 | +----+------+-------+---------------------+----------+------------------------+ |  1 | user | 873   | 2019-08-27 19:49:29 | TOMORROW | just testing you, bro! | +----+------+-------+---------------------+----------+------------------------+
And today I noticed I could not view the profile of user 873:
Call to undefined method CB\Plugin\AntiSpam\Table\BlockTable::expiry()
Indeed, I see expiry getting called from components/com_comprofiler/plugin/user/plug_cbantispam/templates/default/blocks.php , but no such method is available in BlockTable.
Deleting that entry in the antispam_block entry allows the profile to be viewed again.

 

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48424
  • Thanks: 8274
  • Karma: 1443
2 years 1 month ago #330678 by krileon
Replied by krileon on topic Undefined Method in AntiSpam
Looks like a bug. That template file is calling an old function. This is now fixed in latest CB AntiSpam build release. Thank you for letting us know!


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: kdave321

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum