Skip to Content Skip to Menu

ArgumentCountError

  • trlbldr
  • trlbldr
  • OFFLINE
  • Posts: 106
  • Thanks: 8
  • Karma: 1
5 days 8 hours ago #342019 by trlbldr
ArgumentCountError was created by trlbldr
If and when I delete a user account from CB, I receive this error message:
Code:
A PHP Exception occurred on your site. Here you can find the stack trace: Exception Type: ArgumentCountError File: /home/ziubxdtw/public_html/plugins/finder/contactenhanced/contactenhanced.php Line: 152 Message: Too few arguments to function PlgFinderContactenhanced::onFinderAfterSave(), 2 passed in /home/ziubxdtw/public_html/libraries/src/Plugin/CMSPlugin.php on line 311 and exactly 3 expected
  • I don't understand the apparent correlation between the ContactEnhanced Pro and Community Builder components.
  • This doesn't occur often because I'm not often required to do so (our VSO does not permit one person to setup multiple user accounts).
  • I first noticed it after upgrading Joomla to version 5.3.3.
System Info:
  • PHP 8.3.25
  • MySQLi 11.4.8-MariaDB
  • Joomla 5.3.3
  • Community Builder version 2.10.0
I welcome all suggestions. Thank you!
Donald H White
Webmaster
U.S. Naval Cryptologic Veterans Association

Don White

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49580
  • Thanks: 8485
  • Karma: 1465
5 days 5 hours ago #342020 by krileon
Replied by krileon on topic ArgumentCountError
Error tells you where it's coming from: plugins/finder/contactenhanced/contactenhanced.php

3rd party Joomla finder plugin called "Contact Enhanced". Suggest contacting the developer for them to investigate further. The reason it happens on CB user delete is CB user delete also does a Joomla user delete and it's probably acting on that user delete is my guess. Their easiest way to fix that is to update their plugin to use event subscriber interface so they just get a single event object.


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.

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

Moderators: beatnantkrileon
Powered by Kunena Forum