Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review

file Error after changing status of a contact to 'trashed' in frontend

More
1 week 15 hours ago #6142 by [email protected]
Hi there,
When I edit a contact in the frontend, and set the status of the contact from "published' to 'trash', I get an error.

array_keys(): Argument #1 ($array) must be of type array, int given()JROOT/components/com_trombinoscopeextended/src/Controller/UsercontactController.php:5122array_keys()JROOT/components/com_trombinoscopeextended/src/Controller/UsercontactController.php:5123SYW\Component\TrombinoscopeExtended\Site\Controller\UsercontactController->array_is_list()JROOT/components/com_trombinoscopeextended/src/Controller/UsercontactController.php:4494SYW\Component\TrombinoscopeExtended\Site\Controller\UsercontactController->checkModifiedArray()JROOT/components/com_trombinoscopeextended/src/Controller/UsercontactController.php:3925SYW\Component\TrombinoscopeExtended\Site\Controller\UsercontactController->catchModifiedData()JROOT/components/com_trombinoscopeextended/src/Controller/UsercontactController.php:6036SYW\Component\TrombinoscopeExtended\Site\Controller\UsercontactController->save()JROOT/libraries/src/MVC/Controller/BaseController.php:7307Joomla\CMS\MVC\Controller\BaseController->execute()JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
 
Regards,
Peter
Attachments:

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

More
1 week 13 hours ago #6143 by syw
Thank you for the report.
I will look into it.
It's a bit tricky here since once you put a contact in the trash, it should no longer be accessible to the user in the frontend.

Olivier.
The following user(s) said Thank You: [email protected]

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

More
19 hours ago #6144 by [email protected]
Hy Olivier,

That is true, but it should not end up in an error.
When changing the status to "trashed" in a Joomla-article, there is no error. When you have the rights to delete an article (or a contact), the you also have the right to view the article that is trashed ( where guest-users don't have that right), so it can be visible after removing the article (or contact).
Hope you find a solution for this.
Regards,
Peter

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

More
9 hours 50 minutes ago #6145 by syw
Of course, there is no question about it ;-)

Olivier.

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

Free Extensions Support Membership
$12 $9.95
  • 3 months personal help
  • support future developments
  • 30% renewal discount
Sign up now!
Extensions bundle license
$317.70 $119
  • 12 months support (forum & email)
  • 12 months updates
  • all free & pro extensions
  • unlimited sites
  • 30% renewal discount
Get the deal!