Skip to content

Error when creating a new attachment #198

Closed

Description

@JLTRY

I have been using your extension using since the very beginning when you published the add-on. Excellent work. I now have a problem after switching to the latest Joomla 6 (I was switching from Joomla 3). I can download attachments, but when I want to create a new attachment, an error pops up, see attachment.

Image Image

Activity

  1. JLTRY commented on May 1, 2026

    @JLTRY
    CollaboratorAuthor

    Issue received by mail
    Issue reproduced with Joomla 6.10

  2. JLTRY commented on May 1, 2026

    @JLTRY
    CollaboratorAuthor

    Can you please test this version

    attachments_component.PR199.zip

  3. parapente commented on May 2, 2026

    @parapente
    Collaborator

    @JLTRY I have tested the PR on a locally installed 6.1.0 joomla and indeed it seems to solve the issue.

  4. martinpihrt commented on May 4, 2026

    @martinpihrt

    I confirm that the fix works (everything is working). To install it, I had to enable the Behaviour - Backward Compatibility 6 plugin in Joomla. In Joomla 6, use Joomla\CMS\Filesystem\Folder; no longer works (Class "Joomla\CMS\Filesystem\Folder" not found); it should correctly be called use Joomla\Filesystem\Folder. The Behaviour - Backward Compatibility 6 plugin resolved this. Thank you very much.

  5. JLTRY commented on May 4, 2026

    @JLTRY
    CollaboratorAuthor

    @martinpihrt yes I confirm that attachments needs the backward compatibility plugin see Issue #194

  6. JLTRY commented on May 4, 2026

    @JLTRY
    CollaboratorAuthor

    PR merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions