Fatal error: Uncaught Error: Call to undefined method ReflectionUnionType::getName() in /home/wecarenaturally/public_html/vendor/magento/framework/Code/Generator/EntityAbstract.php:335
Stack trace:
#0 /home/wecarenaturally/public_html/vendor/magento/framework/Code/Generator/EntityAbstract.php(393): Magento\Framework\Code\Generator\EntityAbstract->extractParameterType(Object(ReflectionParameter))
#1 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/Code/Generator/Proxy.php(176): Magento\Framework\Code\Generator\EntityAbstract->_getMethodParameterInfo(Object(ReflectionParameter))
#2 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/Code/Generator/Proxy.php(136): Magento\Framework\ObjectManager\Code\Generator\Proxy->_getMethodInfo(Object(ReflectionMethod))
#3 /home/wecarenaturally/public_html/vendor/magento/framework/Code/Generator/EntityAbstract.php(226): Magento\Framework\ObjectManager\Code\Generator\Proxy->_getClassMethods()
#4 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/Code/Generator/Proxy.php(160): Magento\Framework\Code\Generator\EntityAbstract->_generateCode()
#5 /home/wecarenaturally/public_html/vendor/magento/framework/Code/Generator/EntityAbstract.php(106): Magento\Framework\ObjectManager\Code\Generator\Proxy->_generateCode()
#6 /home/wecarenaturally/public_html/vendor/magento/framework/Code/Generator.php(130): Magento\Framework\Code\Generator\EntityAbstract->generate()
#7 /home/wecarenaturally/public_html/vendor/magento/framework/Code/Generator/Autoloader.php(53): Magento\Framework\Code\Generator->generateClass('Psr\\Log\\LoggerI...')
#8 [internal function]: Magento\Framework\Code\Generator\Autoloader->load('Psr\\Log\\LoggerI...')
#9 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/Relations/Runtime.php(38): class_exists('Psr\\Log\\LoggerI...')
#10 /home/wecarenaturally/public_html/vendor/magento/framework/Interception/Config/Config.php(157): Magento\Framework\ObjectManager\Relations\Runtime->has('Psr\\Log\\LoggerI...')
#11 /home/wecarenaturally/public_html/vendor/magento/framework/Interception/Config/Config.php(180): Magento\Framework\Interception\Config\Config->_inheritInterception('Psr\\Log\\LoggerI...')
#12 /home/wecarenaturally/public_html/vendor/magento/framework/Interception/ObjectManager/Config/Developer.php(61): Magento\Framework\Interception\Config\Config->hasPlugins('Psr\\Log\\LoggerI...')
#13 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(47): Magento\Framework\Interception\ObjectManager\Config\Developer->getInstanceType('Psr\\Log\\LoggerI...')
#14 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Psr\\Log\\LoggerI...')
#15 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(170): Magento\Framework\ObjectManager\ObjectManager->get('Psr\\Log\\LoggerI...')
#16 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(276): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Psr\\Log\\LoggerI...', NULL, 'logger', 'Magento\\Framewo...')
#17 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(239): Magento\Framework\ObjectManager\Factory\AbstractFactory->getResolvedArgument('Magento\\Framewo...', Array, Array)
#18 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime('Magento\\Framewo...', Array, Array)
#19 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(59): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\\Framewo...', Array, Array)
#20 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Framewo...')
#21 /home/wecarenaturally/public_html/vendor/magento/framework/Interception/PluginList/PluginList.php(136): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Framewo...')
#22 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Magento\Framework\Interception\PluginList\PluginList->__construct(Object(Magento\Framework\ObjectManager\Config\Reader\Dom\Proxy), Object(Magento\Framework\Config\Scope), Object(Magento\Framework\App\Cache\Type\Config), Object(Magento\Framework\ObjectManager\Relations\Runtime), Object(Magento\Framework\Interception\ObjectManager\Config\Developer), Object(Magento\Framework\Interception\Definition\Runtime), Object(Magento\Framework\App\ObjectManager), Object(Magento\Framework\ObjectManager\Definition\Runtime), Array, 'plugin-list', NULL, NULL, NULL)
#23 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(66): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array)
#24 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Framewo...')
#25 /home/wecarenaturally/public_html/vendor/magento/framework/Interception/Interceptor.php(42): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Framewo...')
#26 /home/wecarenaturally/public_html/generated/code/Magento/Framework/App/State/Interceptor.php(13): Magento\Framework\App\State\Interceptor->___init()
#27 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Magento\Framework\App\State\Interceptor->__construct(Object(Magento\Framework\Config\Scope), 'production')
#28 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(66): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array)
#29 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Framewo...')
#30 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(170): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Framewo...')
#31 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(276): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\\Framewo...', NULL, 'appState', 'Magento\\Framewo...')
#32 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(239): Magento\Framework\ObjectManager\Factory\AbstractFactory->getResolvedArgument('Magento\\Framewo...', Array, Array)
#33 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime('Magento\\Framewo...', Array, Array)
#34 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(59): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\\Framewo...', Array, Array)
#35 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Framewo...')
#36 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(170): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Framewo...')
#37 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(276): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\\Framewo...', NULL, 'invoker', 'Magento\\Framewo...')
#38 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(239): Magento\Framework\ObjectManager\Factory\AbstractFactory->getResolvedArgument('Magento\\Framewo...', Array, Array)
#39 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime('Magento\\Framewo...', Array, Array)
#40 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(59): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\\Framewo...', Array, Array)
#41 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Framewo...')
#42 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(170): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Framewo...')
#43 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(276): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\\Framewo...', NULL, 'eventManager', 'Magento\\Framewo...')
#44 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(239): Magento\Framework\ObjectManager\Factory\AbstractFactory->getResolvedArgument('Magento\\Framewo...', Array, Array)
#45 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime('Magento\\Framewo...', Array, Array)
#46 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(59): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\\Framewo...', Array, Array)
#47 /home/wecarenaturally/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(56): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Framewo...', Array)
#48 /home/wecarenaturally/public_html/vendor/magento/framework/App/Bootstrap.php(238): Magento\Framework\ObjectManager\ObjectManager->create('Magento\\Framewo...', Array)
#49 /home/wecarenaturally/public_html/pub/index.php(29): Magento\Framework\App\Bootstrap->createApplication('Magento\\Framewo...')
#50 {main}
thrown in /home/wecarenaturally/public_html/vendor/magento/framework/Code/Generator/EntityAbstract.php on line 335