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
2 months 3 weeks 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
2 months 3 weeks 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
2 months 2 weeks 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
2 months 2 weeks ago #6145 by syw
Of course, there is no question about it ;-)

Olivier.

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

More
1 day 6 hours ago #6146 by [email protected]
Hi Olivier,

Is this issue still under you attention? Please forgive me that I bring this under you attention again, but my client asked me about it.

Regards,
Peter

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

More
18 hours 29 minutes ago #6147 by syw
Hi Peter, it's been fixed in the upcoming update. A matter of days.

Olivier.

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