[#30214] JLog::add in JFolder::create logs erroneous error messages (Merge joomla/joomla-platform@c9e8df5b272a4b90b99bfaff4f59c8afb860f6a0)