SASDC Website
Show
  • Create an account
  • Forgot your username?
  • Forgot your password?

envelopeinfo@sasdc.org.za phone011 100 1025                               Apply for Certification

SASDC Website
  • Home
  • About Us
    • Our Council
      • Vision, Mission & Purpose
      • The 5C Model
      • Our Value Proposition
      • Supplier Diversity
      • Our People
        • Our Board
        • Our Team
          • Vacancies
    • Collaborate
      • Corporate Membership
        • Our Members
        • Become a Corporate Member
        • Membership Benefits & services
      • Our Partner Network
        • Global Partnerships
        • Global Supplier Diversity Alliance
        • Strategic Partners
    • Certify
      • Certification Benefits & Services
      • Apply for Certification
    • Connect
      • Business Linkages
      • Networking
    • Capacitate
      • Supplier Development
        • Benefits of the Supplier Development Programme
      • Organisational Review
      • Professional Development
    • Celebrate
      • Case Studies
  • Events
    • Upcoming Events
  • Resources
    • Why Black Suppliers Matter
    • Covid- 19 Resources
      • Webinar Recordings
      • ILO Guide
    • Growthwheel Webinars
    • Gallery
      • SASDC Videos
    • Newsletters & Notices
      • Diversity Brief
    • SASDC News
  • Special Projects
    • Gauteng Township Supplier Development Initiative
    • Improving Black SMME capability to build resilience and sustainability beyond COVID-19
    • Sanparks
    • Project EMBRACE
Slot Gacor

SASDC Youtube Channel

  1. Ms Thandokazi Msimang
  2. Uncategorised
  3. SASDC Youtube Channel
Previous article: Ms Thandokazi Msimang Prev Next article: Growthwheel Webinars Next

About Us

By executing our mission of Collaborate, Certify, Connect, Capacitate and Celebrate, the South African Supplier Diversity Council helps market leaders buy better from Black Business. 

  • markerGround Floor, Suite 10, @Kopano on Empire, 30 Wellington Road, Parktown 2193
  • phone011 100 1025
  • envelopeinfo@sasdc.org.za

CONNECT WITH US

  • Facebook
  • Twitter
  • Linkedin
  • youtube
  • instagram

SIGNUP TO RECEIVE OUR NEWSLETTER

Enter your email address if you want to receive our newsletter.
  • Website Terms & Conditions
  • Privacy Policy

Copyright 2025 - South African Supplier Diversity Council.

All Rights Reserved. 

Attempted to load class "PHPMailer" from the global namespace. Did you forget a "use" statement? (500 Whoops, looks like something went wrong.)

ClassNotFoundError

HTTP 500 Whoops, looks like something went wrong.

Attempted to load class "PHPMailer" from the global namespace.
Did you forget a "use" statement?

Exception

Symfony\Component\ErrorHandler\Error\ ClassNotFoundError

in /home/sasdcnce/public_html/libraries/src/Mail/Mail.php (line 21)
  1. /**
  2. * Email Class. Provides a common interface to send email from the Joomla! Platform
  3. *
  4. * @since 1.7.0
  5. */
  6. class Mail extends \PHPMailer
  7. {
  8. /**
  9. * Mail instances container.
  10. *
  11. * @var Mail[]
in /home/sasdcnce/public_html/libraries/vendor/composer/ClassLoader.php include (line 576)
  1. *
  2. * @param string $file
  3. * @return void
  4. */
  5. self::$includeFile = \Closure::bind(static function($file) {
  6. include $file;
  7. }, null, null);
  8. }
  9. }
in /home/sasdcnce/public_html/libraries/vendor/composer/ClassLoader.php Composer\Autoload\{closure} (line 427)
  1. */
  2. public function loadClass($class)
  3. {
  4. if ($file = $this->findFile($class)) {
  5. $includeFile = self::$includeFile;
  6. $includeFile($file);
  7. return true;
  8. }
  9. return null;
ClassLoader->loadClass('Joomla\\CMS\\Mail\\Mail') in /home/sasdcnce/public_html/libraries/src/Autoload/ClassLoader.php (line 59)
  1. *
  2. * @since 3.4
  3. */
  4. public function loadClass($class)
  5. {
  6. if ($result = $this->loader->loadClass($class)) {
  7. \JLoader::applyAliasFor($class);
  8. }
  9. return $result;
  10. }
ClassLoader->loadClass('Joomla\\CMS\\Mail\\Mail') in /home/sasdcnce/public_html/libraries/src/Mail/MailerFactory.php (line 62)
  1. if ($settings) {
  2. $configuration->merge($settings);
  3. }
  4. $mailer = new Mail((bool) $configuration->get('throw_exceptions', true));
  5. $smtpauth = $configuration->get('smtpauth') == 0 ? null : 1;
  6. $smtpuser = $configuration->get('smtpuser');
  7. $smtppass = $configuration->get('smtppass');
  8. $smtphost = $configuration->get('smtphost');
MailerFactory->createMailer() in /home/sasdcnce/public_html/components/com_eventbooking/helper/mail.php (line 2291)
  1. */
  2. public static function getMailer($config, $event = null)
  3. {
  4. if (version_compare(JVERSION, '4.4.0', 'ge'))
  5. {
  6. $mailer = Factory::getContainer()->get(MailerFactoryInterface::class)->createMailer();
  7. }
  8. else
  9. {
  10. $mailer = Factory::getMailer();
  11. }
EventbookingHelperMail::getMailer(object(RADConfig)) in /home/sasdcnce/public_html/components/com_eventbooking/helper/mail.php (line 2122)
  1. /* @var \Joomla\Database\DatabaseDriver $db */
  2. $db = Factory::getContainer()->get('db');
  3. $query = $db->getQuery(true);
  4. $config = EventbookingHelper::getConfig();
  5. $message = EventbookingHelper::getMessages();
  6. $mailer = static::getMailer($config);
  7. $query->select('a.*, b.from_name, b.from_email')
  8. ->from('#__eb_registrants AS a')
  9. ->innerJoin('#__eb_events AS b ON a.event_id = b.id')
  10. ->where('a.published = 0')
  11. ->where('a.group_id = 0')
EventbookingHelperMail::sendOfflinePaymentReminder(7, 15, object(Registry)) in /home/sasdcnce/public_html/components/com_eventbooking/helper/helper.php (line 837)
  1. foreach (array_reverse($callableMethods) as $callable)
  2. {
  3. if (is_callable($callable))
  4. {
  5. return call_user_func_array($callable, $methodArgs);
  6. }
  7. }
  8. throw new Exception(sprintf('Method %s does not exist in the helper %s', $method, $helper));
  9. }
EventbookingHelper::callOverridableHelperMethod('mail', 'sendOfflinePaymentReminder', array(7, 15, object(Registry))) in /home/sasdcnce/public_html/plugins/system/ebofflinepaymenthandle/ebofflinepaymenthandle.php (line 77)
  1. return;
  2. }
  3. if ($numberDaysToSendReminder > 0)
  4. {
  5. EventbookingHelper::callOverridableHelperMethod(
  6. 'mail',
  7. 'sendOfflinePaymentReminder',
  8. [$numberDaysToSendReminder, $numberRegistrants, $this->params]
  9. );
  10. }
in /home/sasdcnce/public_html/libraries/vendor/joomla/event/src/Dispatcher.php -> onAfterRespond (line 454)
  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. }
in /home/sasdcnce/public_html/libraries/vendor/joomla/application/src/AbstractApplication.php -> dispatch (line 99)
  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('onAfterRespond', object(AfterRespondEvent)) in /home/sasdcnce/public_html/libraries/src/Application/CMSApplication.php (line 349)
  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/sasdcnce/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/sasdcnce/public_html/includes/app.php') in /home/sasdcnce/public_html/index.php (line 32)
  1. * define() is used rather than "const" to not error for PHP 5.2 and lower
  2. */
  3. define('_JEXEC', 1);
  4. // Run the application - All executable code should be triggered through this file
  5. require_once dirname(__FILE__) . '/includes/app.php';

Stack Trace

ClassNotFoundError
Symfony\Component\ErrorHandler\Error\ClassNotFoundError:
Attempted to load class "PHPMailer" from the global namespace.
Did you forget a "use" statement?

  at /home/sasdcnce/public_html/libraries/src/Mail/Mail.php:21
  at include()
     (/home/sasdcnce/public_html/libraries/vendor/composer/ClassLoader.php:576)
  at Composer\Autoload\{closure}('/home/sasdcnce/public_html/libraries/vendor/composer/../../../libraries/src/Mail/Mail.php')
     (/home/sasdcnce/public_html/libraries/vendor/composer/ClassLoader.php:427)
  at Composer\Autoload\ClassLoader->loadClass('Joomla\\CMS\\Mail\\Mail')
     (/home/sasdcnce/public_html/libraries/src/Autoload/ClassLoader.php:59)
  at Joomla\CMS\Autoload\ClassLoader->loadClass('Joomla\\CMS\\Mail\\Mail')
     (/home/sasdcnce/public_html/libraries/src/Mail/MailerFactory.php:62)
  at Joomla\CMS\Mail\MailerFactory->createMailer()
     (/home/sasdcnce/public_html/components/com_eventbooking/helper/mail.php:2291)
  at EventbookingHelperMail::getMailer(object(RADConfig))
     (/home/sasdcnce/public_html/components/com_eventbooking/helper/mail.php:2122)
  at EventbookingHelperMail::sendOfflinePaymentReminder(7, 15, object(Registry))
     (/home/sasdcnce/public_html/components/com_eventbooking/helper/helper.php:837)
  at EventbookingHelper::callOverridableHelperMethod('mail', 'sendOfflinePaymentReminder', array(7, 15, object(Registry)))
     (/home/sasdcnce/public_html/plugins/system/ebofflinepaymenthandle/ebofflinepaymenthandle.php:77)
  at plgSystemEBOfflinePaymentHandle->onAfterRespond(object(AfterRespondEvent))
     (/home/sasdcnce/public_html/libraries/vendor/joomla/event/src/Dispatcher.php:454)
  at Joomla\Event\Dispatcher->dispatch('onAfterRespond', object(AfterRespondEvent))
     (/home/sasdcnce/public_html/libraries/vendor/joomla/application/src/AbstractApplication.php:99)
  at Joomla\Application\AbstractApplication->dispatchEvent('onAfterRespond', object(AfterRespondEvent))
     (/home/sasdcnce/public_html/libraries/src/Application/CMSApplication.php:349)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home/sasdcnce/public_html/includes/app.php:58)
  at require_once('/home/sasdcnce/public_html/includes/app.php')
     (/home/sasdcnce/public_html/index.php:32)