Support Hub

Welcome to Mind Your Biz Online's Client Support Hub for access to your private support tickets and community Q&As.

Client Support Hub

Welcome to Mind Your Biz Online's Client Support Hub for access to your private support tickets and community Q&As.

Image
We teach from experience. Our educators are top-tier freelance web designers who will show you the frameworks bridge the gap between message and perception.
Connect on Social Media
© 2012 - 2026 Gez | MindYourBizOnline. All rights reserved.
Invalid documents path media/com_osmembership/_member_downloads (500 Whoops, looks like something went wrong.)

InvalidArgumentException

HTTP 500 Whoops, looks like something went wrong.

Invalid documents path media/com_osmembership/_member_downloads

Exception

InvalidArgumentException

  1. {
  2. $this->documentsPath = $path;
  3. }
  4. else
  5. {
  6. throw new \InvalidArgumentException(sprintf('Invalid documents path %s', $path));
  7. }
  8. if (is_dir(Path::clean($this->documentsPath . '/update_packages')))
  9. {
  10. $this->updatePackagesPath = $this->documentsPath . '/update_packages';
  1. public function register(Container $container)
  2. {
  3. $container->set(
  4. PluginInterface::class,
  5. function (Container $container) {
  6. $plugin = new Documents(
  7. $container->get(DispatcherInterface::class),
  8. (array) PluginHelper::getPlugin('osmembership', 'documents')
  9. );
  10. $plugin->setApplication(Factory::getApplication());
  1. }
  2. return $this->instance;
  3. }
  4. return $callable($this->container);
  5. }
  6. /**
  7. * Get the factory
  8. *
  1. }
  2. throw new KeyNotFoundException(sprintf("Resource '%s' has not been registered with the container.", $resourceName));
  3. }
  4. return $this->resources[$key]->getInstance();
  5. }
  6. /**
  7. * Check if specified resource exists.
  8. *
  1. 'container' => $container,
  2. ]
  3. )
  4. );
  5. $extension = $container->get($type);
  6. if ($extension instanceof BootableExtensionInterface) {
  7. $extension->boot($container);
  8. }
  1. $plugin = str_starts_with($plugin, 'plg_') ? substr($plugin, 4) : $plugin;
  2. // Path to look for services
  3. $path = JPATH_SITE . '/plugins/' . $type . '/' . $plugin;
  4. return $this->loadExtension(PluginInterface::class, $plugin . ':' . $type, $path);
  5. }
  6. /**
  7. * Loads the extension.
  8. *
CMSApplication->bootPlugin() in /home/mybo/public_html/libraries/src/Plugin/PluginHelper.php (line 232)
  1. return;
  2. }
  3. $plugins[$hash] = true;
  4. $plugin = Factory::getApplication()->bootPlugin($plugin->name, $plugin->type);
  5. if ($dispatcher && $plugin instanceof DispatcherAwareInterface) {
  6. $plugin->setDispatcher($dispatcher);
  7. }
  1. $plugins = static::load();
  2. // Get the specified plugin(s).
  3. foreach ($plugins as $value) {
  4. if ($value->type === $type && ($plugin === null || $value->name === $plugin)) {
  5. static::import($value, $autocreate, $dispatcher);
  6. $results = true;
  7. }
  8. }
  9. // Bail out early if we're not using default args
  1. // Require library + register autoloader
  2. require_once JPATH_ADMINISTRATOR . '/components/com_osmembership/loader.php';
  3. $message = \OSMembershipHelper::getMessages();
  4. PluginHelper::importPlugin('osmembership');
  5. $app = $this->getApplication();
  6. // Send first reminder
  7. $rows = $this->getSubscriptionsToSendReminder(1, $numberEmailSendEachTime);
  1. foreach ($this->listeners[$event->getName()] as $listener) {
  2. if ($event->isStopped()) {
  3. return $event;
  4. }
  5. $listener($event);
  6. }
  7. }
  8. return $event;
  9. }
  1. $dispatcher = $this->getDispatcher();
  2. } catch (\UnexpectedValueException $exception) {
  3. return null;
  4. }
  5. return $dispatcher->dispatch($eventName, $event ?: new ApplicationEvent($eventName, $this));
  6. }
  7. /**
  8. * Method to run the application routines.
  9. *
AbstractApplication->dispatchEvent() in /home/mybo/public_html/libraries/src/Application/CMSApplication.php (line 363)
  1. // Send the application response.
  2. $this->respond();
  3. // Trigger the onAfterRespond event.
  4. $this->dispatchEvent(
  5. 'onAfterRespond',
  6. new AfterRespondEvent('onAfterRespond', ['subject' => $this])
  7. );
  8. }
CMSApplication->execute() in /home/mybo/public_html/includes/app.php (line 58)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application = $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/home/mybo/public_html/includes/app.php') in /home/mybo/public_html/index.php (line 51)
  1. // ... die
  2. die();
  3. }
  4. // Run the application - All executable code should be triggered through this file
  5. require_once __DIR__ . '/includes/app.php';

Stack Trace

InvalidArgumentException
InvalidArgumentException:
Invalid documents path media/com_osmembership/_member_downloads

  at /home/mybo/public_html/plugins/osmembership/documents/src/Extension/Documents.php:80
  at JoomDonation\MembershipPro\Plugin\MembershipPro\Documents\Extension\Documents->__construct()
     (/home/mybo/public_html/plugins/osmembership/documents/services/provider.php:36)
  at Joomla\DI\ServiceProviderInterface@anonymous/home/mybo/public_html/plugins/osmembership/documents/services/provider.php:21$653->{closure}()
     (/home/mybo/public_html/libraries/vendor/joomla/di/src/ContainerResource.php:168)
  at Joomla\DI\ContainerResource->getInstance()
     (/home/mybo/public_html/libraries/vendor/joomla/di/src/Container.php:95)
  at Joomla\DI\Container->get()
     (/home/mybo/public_html/libraries/src/Extension/ExtensionManagerTrait.php:177)
  at Joomla\CMS\Application\CMSApplication->loadExtension()
     (/home/mybo/public_html/libraries/src/Extension/ExtensionManagerTrait.php:99)
  at Joomla\CMS\Application\CMSApplication->bootPlugin()
     (/home/mybo/public_html/libraries/src/Plugin/PluginHelper.php:232)
  at Joomla\CMS\Plugin\PluginHelper::import()
     (/home/mybo/public_html/libraries/src/Plugin/PluginHelper.php:192)
  at Joomla\CMS\Plugin\PluginHelper::importPlugin()
     (/home/mybo/public_html/plugins/system/osmembershipreminder/src/Extension/Reminder.php:138)
  at JoomDonation\MembershipPro\Plugin\System\Reminder\Extension\Reminder->onAfterRespond()
     (/home/mybo/public_html/libraries/vendor/joomla/event/src/Dispatcher.php:454)
  at Joomla\Event\Dispatcher->dispatch()
     (/home/mybo/public_html/libraries/vendor/joomla/application/src/AbstractApplication.php:99)
  at Joomla\Application\AbstractApplication->dispatchEvent()
     (/home/mybo/public_html/libraries/src/Application/CMSApplication.php:363)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home/mybo/public_html/includes/app.php:58)
  at require_once('/home/mybo/public_html/includes/app.php')
     (/home/mybo/public_html/index.php:51)