Property 'name' Of Argument 'item' Of Event OnFetchMediaItem has A Wrong Item - Question | JoomShaper

Property 'name' Of Argument 'item' Of Event OnFetchMediaItem has A Wrong Item

R

Renor

SP Page Builder 2 years ago

Hi! Getting this error message when trying to upload a 10MB pdf file to the "media" directory:

Property 'name' of argument 'item' of event onFetchMediaItem has a wrong item. Valid: non empty string

Running Joomla 4, PHP 8, template travelin, SPpagebuilder 3.8.9 I checked your forum, and also made sure all permissions were ok (including max size) but keep getting the same error message. What should I check next?

FYI, when using FTP or Cpanel, no problem to upload that file. THe issue is when I try uploading it from within SPpagebuilder

0
2 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #100133

Hi there,

Thanks for contacting us. Sorry for the inconvenience. Will you please provide me the Joomla administrator access to check the issue? I will check & get back to you soon. 

-Thanks

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 8 months ago #185919

I know the answer. The problem is most cases is by No space left on Server for /tmp folders. But you can still upload files using FTP tool and File Manager from cPanel.

That's why you may have also that extra error in Joomla Module Manager

An error has occurred. 3 Error writing file '/tmp/' (Errcode: 28 - No space left on device)

CHECKINGS: In cPanel (for domain), go to the Server Information > Service Information, and find those lines (at the bottom):

  • Disk /tmp (/tmp) - 100%
  • Disk /var/tmp (/var/tmp) - 100%

If you have 100% or 99% value there it means that Joomla/WordPress cannot upload ("big") files anymore.

SOLUTION: If you’re on shared hosting and cannot clear /tmp yourself, contact your hosting provider and ask them to free up space or increase the /tmp allocation. Those folders must be almost empty (25% or less).


Later you will be able to upload files using Joomla Media, SPPB Media and use Modules. As you see there is no relation with used Joomla version, Template nor Component. Yes, I had the same problem on Joomla 5, and I solved it.

0