Postings
You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).
Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!
Error after changing status of a contact to 'trashed' in frontend
- [email protected]
-
Topic Author
- New Member
-
Less
More
IP: 2a02:a45b:49eb:1:c109:31a1:47f3:a064
1 year 7 months 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
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
- syw
-
- Administrator
-
Less
More
- Posts: 829
IP: 2600:1017:a410:8dc6:2c6b:c01b:b37e:90bf
1 year 7 months ago #6143
by syw
Olivier.
Replied by syw on topic Error after changing status of a contact to 'trashed' in frontend
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.
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]
- [email protected]
-
Topic Author
- New Member
-
IP: 2a02:a45b:49eb:1:1584:9ba8:1001:e4cf
1 year 7 months ago #6144
by [email protected]
Replied by [email protected] on topic Error after changing status of a contact to 'trashed' in frontend
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
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
- syw
-
- Administrator
-
Less
More
- Posts: 829
IP: 2600:1017:a410:8dc6:4b42:18a7:fd16:bbbe
1 year 7 months ago #6145
by syw
Olivier.
Replied by syw on topic Error after changing status of a contact to 'trashed' in frontend
Of course, there is no question about it
Olivier.
- [email protected]
-
Topic Author
- New Member
-
IP: 2a02:a45b:49eb:1:c1a5:5190:56fa:76fe
1 year 4 months ago #6146
by [email protected]
Replied by [email protected] on topic Error after changing status of a contact to 'trashed' in frontend
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
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
- syw
-
- Administrator
-
Less
More
- Posts: 829
IP: 109.218.227.40
1 year 4 months ago #6147
by syw
Olivier.
Replied by syw on topic Error after changing status of a contact to 'trashed' in frontend
Hi Peter, it's been fixed in the upcoming update. A matter of days.
Olivier.
