Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/authorsinfo/public_html/administrator/components/com_easyblog/includes/router.php on line 1298
Call to a member function getAlias() on bool (500 Whoops, looks like something went wrong.)

Error

HTTP 500 Whoops, looks like something went wrong.

Call to a member function getAlias() on bool

Exception

Error

  1.             if ($this->config->get('main_sef') == 'datecategory' || $this->config->get('main_sef') == 'category') {
  2.                 // Get the current primary category
  3.                 $category $this->getPrimaryCategory();
  4.                 $categoryPermalink $category->getAlias();
  5.                 // Date and category based permalink type
  6.                 if ($this->config->get('main_sef') == 'datecategory') {
  7.                     $permalink $categoryPermalink '/' $datePermalink '/' $permalink;
  8.                 } else {
  1.                     $segments[]= $post->getPrimaryCategory()->getAlias();
  2.                 }
  3.                 // Since the cache library is already using the post library to re-render the post table data, just use the permalink.
  4.                 if ($includeAlias) {
  5.                     $segments[] = $post->getAlias();
  6.                 }
  7.                 if (isset($query['format']) == 'amp') {
  8.                     $segments[] = 'amp';
EasyBlogRouterBase::buildRoute(array('Itemid' => 236, 'option' => 'com_easyblog', 'view' => 'entry', 'id' => '448')) in /home/authorsinfo/public_html/components/com_easyblog/router.php (line 1328)
  1.      */
  2.     class EasyblogRouter extends Joomla\CMS\Component\Router\RouterBase
  3.     {
  4.         public function build(&$query)
  5.         {
  6.             $segments EasyBlogRouterBase::buildRoute($query);
  7.             return $segments;
  8.         }
  9.         public function parse(&$segments)
  10.         {
EasyblogRouter->build(array('Itemid' => 236, 'option' => 'com_easyblog', 'view' => 'entry', 'id' => '448')) in /home/authorsinfo/public_html/libraries/src/Router/SiteRouter.php (line 441)
  1.         $item = empty($query['Itemid']) ? null $this->menu->getItem($query['Itemid']);
  2.         // Build the component route
  3.         $component preg_replace('/[^A-Z0-9_\.-]/i'''$query['option']);
  4.         $crouter   $this->getComponentRouter($component);
  5.         $parts     $crouter->build($query);
  6.         $tmp       trim(implode('/'$parts));
  7.         // Build the application route
  8.         if ($item !== null && $query['option'] === $item->component) {
  9.             if (!$item->home) {
SiteRouter->buildSefRoute(object(SiteRouter), object(Uri)) in /home/authorsinfo/public_html/libraries/src/Router/Router.php (line 405)
  1.         if (!\array_key_exists('build' $stage$this->rules)) {
  2.             throw new \InvalidArgumentException(sprintf('The %s stage is not registered. (%s)'$stage__METHOD__));
  3.         }
  4.         foreach ($this->rules['build' $stage] as $rule) {
  5.             \call_user_func_array($rule, array(&$this, &$uri));
  6.         }
  7.     }
  8.     /**
  9.      * Create a uri based on a full or partial URL string
Router->processBuildRules(object(Uri)) in /home/authorsinfo/public_html/libraries/src/Router/Router.php (line 192)
  1.         // Do the preprocess stage of the URL build process
  2.         $this->processBuildRules($uriself::PROCESS_BEFORE);
  3.         // Do the main stage of the URL build process
  4.         $this->processBuildRules($uri);
  5.         // Do the postprocess stage of the URL build process
  6.         $this->processBuildRules($uriself::PROCESS_AFTER);
  7.         $this->cache[$key] = clone $uri;
Router->build('index.php/pages/login') in /home/authorsinfo/public_html/libraries/src/Router/Route.php (line 141)
  1.         if (!isset(self::$_router[$client])) {
  2.             throw new \RuntimeException(Text::sprintf('JLIB_APPLICATION_ERROR_ROUTER_LOAD'$client), 500);
  3.         }
  4.         // Build route.
  5.         $uri    self::$_router[$client]->build($url);
  6.         $scheme = array('path''query''fragment');
  7.         /*
  8.          * Get the secure/unsecure URLs.
  9.          *
Route::link('site', 'index.php/pages/login', true, 0, false) in /home/authorsinfo/public_html/libraries/src/Router/Route.php (line 93)
  1.             }
  2.             $app    Factory::getApplication();
  3.             $client $app->getName();
  4.             return static::link($client$url$xhtml$tls$absolute);
  5.         } catch (\RuntimeException $e) {
  6.             // @deprecated  4.0 Before 3.9.0 this method failed silently on router error. This B/C will be removed in Joomla 4.0.
  7.             return null;
  8.         }
  9.     }
  1.                     }
  2.                     if ((strpos($item->flink'index.php?') !== false) && strcasecmp(substr($item->flink04), 'http')) {
  3.                         $item->flink Route::_($item->flinktrue$itemParams->get('secure'));
  4.                     } else {
  5.                         $item->flink Route::_($item->flink);
  6.                     }
  7.                     // We prevent the double encoding because for some reason the $item is shared for menu modules and we get double encoding
  8.                     // when the cause of that is found the argument should be removed
  9.                     $item->title          htmlspecialchars($item->titleENT_COMPAT'UTF-8'false);
MenuHelper::getList(object(Registry)) in /home/authorsinfo/public_html/modules/mod_menu/mod_menu.php (line 16)
  1. defined('_JEXEC') or die;
  2. use Joomla\CMS\Helper\ModuleHelper;
  3. use Joomla\Module\Menu\Site\Helper\MenuHelper;
  4. $list       MenuHelper::getList($params);
  5. $base       MenuHelper::getBase($params);
  6. $active     MenuHelper::getActive($params);
  7. $default    MenuHelper::getDefault();
  8. $active_id  $active->id;
  9. $default_id $default->id;
include('/home/authorsinfo/public_html/modules/mod_menu/mod_menu.php') in /home/authorsinfo/public_html/libraries/src/Dispatcher/ModuleDispatcher.php (line 52)
  1.                 unset($displayData);
  2.             } else {
  3.                 extract($displayData);
  4.             }
  5.             include $path;
  6.         };
  7.         $loader($path$this->getLayoutData());
  8.     }
  9. }
ModuleDispatcher::Joomla\CMS\Dispatcher\{closure}('/home/authorsinfo/public_html/modules/mod_menu/mod_menu.php', null) in /home/authorsinfo/public_html/libraries/src/Dispatcher/ModuleDispatcher.php (line 55)
  1.             }
  2.             include $path;
  3.         };
  4.         $loader($path$this->getLayoutData());
  5.     }
  6. }
  1.         $dispatcher $app->bootModule($module->module$app->getName())->getDispatcher($module$app);
  2.         // Check if we have a dispatcher
  3.         if ($dispatcher) {
  4.             ob_start();
  5.             $dispatcher->dispatch();
  6.             $module->content ob_get_clean();
  7.         }
  8.         // Add the flag that the module content has been rendered
  9.         $module->contentRendered true;
ModuleHelper::renderRawModule(object(stdClass), object(Registry), array('name' => 'footer2', 'style' => 'sp_xhtml')) in /home/authorsinfo/public_html/libraries/src/Helper/ModuleHelper.php (line 161)
  1.         // Get module parameters
  2.         $params = new Registry($module->params);
  3.         // Render the module content
  4.         static::renderRawModule($module$params$attribs);
  5.         // Return early if only the content is required
  6.         if (!empty($attribs['contentOnly'])) {
  7.             return $module->content;
  8.         }
ModuleHelper::renderModule(object(stdClass), array('name' => 'footer2', 'style' => 'sp_xhtml')) in /home/authorsinfo/public_html/libraries/src/Document/Renderer/Html/ModuleRenderer.php (line 99)
  1.             $module->contentRendered true;
  2.             return $module->content;
  3.         }
  4.         return ModuleHelper::renderModule($module$attribs);
  5.     }
  6. }
ModuleRenderer->render(object(stdClass), array('name' => 'footer2', 'style' => 'sp_xhtml'), null) in /home/authorsinfo/public_html/libraries/src/Document/Renderer/Html/ModulesRenderer.php (line 50)
  1.         $user         Factory::getUser();
  2.         $frontediting = ($app->isClient('site') && $app->get('frontediting'1) && !$user->guest);
  3.         $menusEditing = ($app->get('frontediting'1) == 2) && $user->authorise('core.edit''com_menus');
  4.         foreach (ModuleHelper::getModules($position) as $mod) {
  5.             $moduleHtml $renderer->render($mod$params$content);
  6.             if ($frontediting && trim($moduleHtml) != '' && $user->authorise('module.edit.frontend''com_modules.module.' $mod->id)) {
  7.                 $displayData = array('moduleHtml' => &$moduleHtml'module' => $mod'position' => $position'menusediting' => $menusEditing);
  8.                 LayoutHelper::render('joomla.edit.frontediting_modules'$displayData);
  9.             }
ModulesRenderer->render('footer2', array('name' => 'footer2', 'style' => 'sp_xhtml'), null) in /home/authorsinfo/public_html/libraries/src/Document/HtmlDocument.php (line 565)
  1.             $cbuffer[$hash] = $tmpdata;
  2.             $cache->store($cbuffer'cbuffer_' $type);
  3.         } else {
  4.             $this->setBuffer($renderer->render($name$attribsnull), $type$name$title);
  5.         }
  6.         return parent::$_buffer[$type][$name][$title];
  7.     }
HtmlDocument->getBuffer('modules', 'footer2', array('name' => 'footer2', 'style' => 'sp_xhtml')) in /home/authorsinfo/public_html/libraries/src/Document/HtmlDocument.php (line 848)
  1.         $replace = [];
  2.         $with = [];
  3.         foreach ($this->_template_tags as $jdoc => $args) {
  4.             $replace[] = $jdoc;
  5.             $with[] = $this->getBuffer($args['type'], $args['name'], $args['attribs']);
  6.         }
  7.         return str_replace($replace$with$this->_template);
  8.     }
  9. }
  1.         if (\array_key_exists('csp_nonce'$params) && $params['csp_nonce'] !== null) {
  2.             $this->cspNonce $params['csp_nonce'];
  3.         }
  4.         $data $this->_renderTemplate();
  5.         parent::render($caching$params);
  6.         return $data;
  7.     }
HtmlDocument->render(false, array('template' => 'travelin', 'file' => 'index.php', 'directory' => '/home/authorsinfo/public_html/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry))) in /home/authorsinfo/public_html/plugins/system/forseo/platform/helpers/errorpages/j4renderer.php (line 100)
  1.                 'file'             => 'index.php',
  2.                 'directory'        => JPATH_THEMES,
  3.                 'debug'            => JDEBUG,
  4.                 'csp_nonce'        => $this->app->get('csp_nonce'),
  5.                 'templateInherits' => $template->parent,
  6.                 'params'           => $template->params,
  7.             ]
  8.         );
  9.         $this->app->setBody($data);
J4renderer->renderDocument(object(Rule), object(EasyBlogException), array('/index.php/component/jreviews/tag/country/united-states/?criteria=1?Itemid=1677' => 'United States', '/index.php/component/jreviews/tag/writtenby/melissa-ann/?criteria=1?Itemid=1677' => 'Melissa Ann', '/index.php/component/jreviews/tag/writtenby/muffy-wilson/?criteria=1?Itemid=1677' => 'Muffy Wilson', '/index.php/component/jreviews/tag/genre/inspirational-romance/?criteria=1?Itemid=1677' => 'Inspirational Romance')) in /home/authorsinfo/public_html/plugins/system/forseo/platform/helpers/errorpages/renderer.php (line 103)
  1.         $this->renderDocument(
  2.             $rule,
  3.             $error,
  4.             $this->getSuggested(
  5.                 $rule,
  6.                 $page
  7.             )
  8.         );
  9.     }
  1.         $renderer $this->factory->getA(
  2.             'Weeblr\Forseo\Platform\Helpers\Errorpages\\' $platformType 'renderer'
  3.         );
  4.         $renderer->render(
  5.             $applicableRule,
  6.             $error,
  7.             $page
  8.         );
  9.         die();
  1.         {
  2.             $this->factory->getA(Helper\Errorpage::class)
  3.                           ->render(
  4.                               $rules,
  5.                               $error,
  6.                               $this->currentPage
  7.                           );
  8.         }
  9.     }
  10.     /**
Pagedatacollector->onError(object(EasyBlogException))
  1.                 {
  2.                     $params[0] = call_user_func_array($callbackRecord['callback'], $params);
  3.                 }
  4.                 else
  5.                 {
  6.                     call_user_func_array($callbackRecord['callback'], $params);
  7.                 }
  8.             }
  9.         }
  10.         $newValue null;
  1.         {
  2.             return Factory::get()->getThe('platform')->executeHook($filter$params);
  3.         }
  4.         else
  5.         {
  6.             Factory::get()->getThe('platform')->executeHook($filter$params);
  7.         }
  8.     }
  9.     /**
  10.      * Whether a given hook has callbacks registered.
  1.      *
  2.      * @return mixed|null
  3.      */
  4.     public function run(...$args)
  5.     {
  6.         $this->execute(false$args);
  7.     }
  8.     /**
  9.      * Execute all callbacks registered for a hook id
  10.      * in order of priority, only on first call.
  1.                  *
  2.                  * @return void
  3.                  *
  4.                  */
  5.                 $this->factory->getThe('hook')->run(
  6.                     'forseo_on_404_error',
  7.                     $error
  8.                 );
  9.                 break;
  10.             case 500:
Error->errorHandler(object(EasyBlogException))
call_user_func_array(array(object(Error), 'errorHandler'), array(object(EasyBlogException))) in /home/authorsinfo/public_html/plugins/system/forseo/platform/errorhandlerj4.php (line 82)
  1.     public function handleError(PlatformEvent\ErrorEvent $event)
  2.     {
  3.         // pass on to 4SEO: if handled, it won't return.
  4.         call_user_func_array(
  5.             $this->appHandler,
  6.             [$event->getError()]
  7.         );
  8.     }
  9. }
  1.                 if ($event->isStopped())
  2.                 {
  3.                     return $event;
  4.                 }
  5.                 $listener($event);
  6.             }
  7.         }
  8.         return $event;
  9.     }
Dispatcher->dispatch('onError', object(ErrorEvent)) in /home/authorsinfo/public_html/libraries/src/Application/EventAware.php (line 107)
  1.             $event     = new $className($eventName$args);
  2.         } else {
  3.             throw new \InvalidArgumentException('The arguments must either be an event or an array');
  4.         }
  5.         $result $dispatcher->dispatch($eventName$event);
  6.         // @todo - There are still test cases where the result isn't defined, temporarily leave the isset check in place
  7.         return !isset($result['result']) || \is_null($result['result']) ? [] : $result['result'];
  8.     }
  9. }
WebApplication->triggerEvent('onError', object(ErrorEvent)) in /home/authorsinfo/public_html/libraries/src/Application/CMSApplication.php (line 321)
  1.                     'application' => $this,
  2.                 ]
  3.             );
  4.             // Trigger the onError event.
  5.             $this->triggerEvent('onError'$event);
  6.             ExceptionHandler::handleException($event->getError());
  7.         }
  8.         // Trigger the onBeforeRespond event.
CMSApplication->execute() in /home/authorsinfo/public_html/includes/app.php (line 61)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/home/authorsinfo/public_html/includes/app.php') in /home/authorsinfo/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

Error
Error:
Call to a member function getAlias() on bool

  at /home/authorsinfo/public_html/administrator/components/com_easyblog/includes/post/post.php:6742
  at EasyBlogPost->getAlias()
     (/home/authorsinfo/public_html/components/com_easyblog/router.php:166)
  at EasyBlogRouterBase::buildRoute(array('Itemid' => 236, 'option' => 'com_easyblog', 'view' => 'entry', 'id' => '448'))
     (/home/authorsinfo/public_html/components/com_easyblog/router.php:1328)
  at EasyblogRouter->build(array('Itemid' => 236, 'option' => 'com_easyblog', 'view' => 'entry', 'id' => '448'))
     (/home/authorsinfo/public_html/libraries/src/Router/SiteRouter.php:441)
  at Joomla\CMS\Router\SiteRouter->buildSefRoute(object(SiteRouter), object(Uri))
     (/home/authorsinfo/public_html/libraries/src/Router/Router.php:405)
  at Joomla\CMS\Router\Router->processBuildRules(object(Uri))
     (/home/authorsinfo/public_html/libraries/src/Router/Router.php:192)
  at Joomla\CMS\Router\Router->build('index.php/pages/login')
     (/home/authorsinfo/public_html/libraries/src/Router/Route.php:141)
  at Joomla\CMS\Router\Route::link('site', 'index.php/pages/login', true, 0, false)
     (/home/authorsinfo/public_html/libraries/src/Router/Route.php:93)
  at Joomla\CMS\Router\Route::_('index.php/pages/login')
     (/home/authorsinfo/public_html/modules/mod_menu/src/Helper/MenuHelper.php:156)
  at Joomla\Module\Menu\Site\Helper\MenuHelper::getList(object(Registry))
     (/home/authorsinfo/public_html/modules/mod_menu/mod_menu.php:16)
  at include('/home/authorsinfo/public_html/modules/mod_menu/mod_menu.php')
     (/home/authorsinfo/public_html/libraries/src/Dispatcher/ModuleDispatcher.php:52)
  at Joomla\CMS\Dispatcher\ModuleDispatcher::Joomla\CMS\Dispatcher\{closure}('/home/authorsinfo/public_html/modules/mod_menu/mod_menu.php', null)
     (/home/authorsinfo/public_html/libraries/src/Dispatcher/ModuleDispatcher.php:55)
  at Joomla\CMS\Dispatcher\ModuleDispatcher->dispatch()
     (/home/authorsinfo/public_html/libraries/src/Helper/ModuleHelper.php:281)
  at Joomla\CMS\Helper\ModuleHelper::renderRawModule(object(stdClass), object(Registry), array('name' => 'footer2', 'style' => 'sp_xhtml'))
     (/home/authorsinfo/public_html/libraries/src/Helper/ModuleHelper.php:161)
  at Joomla\CMS\Helper\ModuleHelper::renderModule(object(stdClass), array('name' => 'footer2', 'style' => 'sp_xhtml'))
     (/home/authorsinfo/public_html/libraries/src/Document/Renderer/Html/ModuleRenderer.php:99)
  at Joomla\CMS\Document\Renderer\Html\ModuleRenderer->render(object(stdClass), array('name' => 'footer2', 'style' => 'sp_xhtml'), null)
     (/home/authorsinfo/public_html/libraries/src/Document/Renderer/Html/ModulesRenderer.php:50)
  at Joomla\CMS\Document\Renderer\Html\ModulesRenderer->render('footer2', array('name' => 'footer2', 'style' => 'sp_xhtml'), null)
     (/home/authorsinfo/public_html/libraries/src/Document/HtmlDocument.php:565)
  at Joomla\CMS\Document\HtmlDocument->getBuffer('modules', 'footer2', array('name' => 'footer2', 'style' => 'sp_xhtml'))
     (/home/authorsinfo/public_html/libraries/src/Document/HtmlDocument.php:848)
  at Joomla\CMS\Document\HtmlDocument->_renderTemplate()
     (/home/authorsinfo/public_html/libraries/src/Document/HtmlDocument.php:633)
  at Joomla\CMS\Document\HtmlDocument->render(false, array('template' => 'travelin', 'file' => 'index.php', 'directory' => '/home/authorsinfo/public_html/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry)))
     (/home/authorsinfo/public_html/plugins/system/forseo/platform/helpers/errorpages/j4renderer.php:100)
  at Weeblr\Forseo\Platform\Helpers\Errorpages\J4renderer->renderDocument(object(Rule), object(EasyBlogException), array('/index.php/component/jreviews/tag/country/united-states/?criteria=1?Itemid=1677' => 'United States', '/index.php/component/jreviews/tag/writtenby/melissa-ann/?criteria=1?Itemid=1677' => 'Melissa Ann', '/index.php/component/jreviews/tag/writtenby/muffy-wilson/?criteria=1?Itemid=1677' => 'Muffy Wilson', '/index.php/component/jreviews/tag/genre/inspirational-romance/?criteria=1?Itemid=1677' => 'Inspirational Romance'))
     (/home/authorsinfo/public_html/plugins/system/forseo/platform/helpers/errorpages/renderer.php:103)
  at Weeblr\Forseo\Platform\Helpers\Errorpages\Renderer->render(object(Rule), object(EasyBlogException), object(Page))
     (/home/authorsinfo/public_html/plugins/system/forseo/vendor/weeblr/forseo/helper/errorpage.php:62)
  at Weeblr\Forseo\Helper\Errorpage->render(array(object(Rule), object(Rule)), object(EasyBlogException), object(Page))
     (/home/authorsinfo/public_html/plugins/system/forseo/vendor/weeblr/forseo/controller/pagedatacollector.php:939)
  at Weeblr\Forseo\Controller\Pagedatacollector->onError(object(EasyBlogException))
  at call_user_func_array(array(object(Pagedatacollector), 'onError'), array(object(EasyBlogException)))
     (/home/authorsinfo/public_html/plugins/system/forseo/vendor/weeblr/wblib/v2/packages/platform/joomla/platform.php:2126)
  at Weeblr\Wblib\Forseo\Platform\JoomlaPlatform->executeHook(false, array(object(EasyBlogException)))
     (/home/authorsinfo/public_html/plugins/system/forseo/vendor/weeblr/wblib/v2/packages/system/hook.php:173)
  at Weeblr\Wblib\Forseo\System\Hook->execute(false, array('forseo_on_404_error', object(EasyBlogException)))
     (/home/authorsinfo/public_html/plugins/system/forseo/vendor/weeblr/wblib/v2/packages/system/hook.php:116)
  at Weeblr\Wblib\Forseo\System\Hook->run('forseo_on_404_error', object(EasyBlogException))
     (/home/authorsinfo/public_html/plugins/system/forseo/vendor/weeblr/forseo/controller/error.php:153)
  at Weeblr\Forseo\Controller\Error->errorHandler(object(EasyBlogException))
  at call_user_func_array(array(object(Error), 'errorHandler'), array(object(EasyBlogException)))
     (/home/authorsinfo/public_html/plugins/system/forseo/platform/errorhandlerj4.php:82)
  at Weeblr\Forseo\Platform\Errorhandlerj4->handleError(object(ErrorEvent))
     (/home/authorsinfo/public_html/libraries/vendor/joomla/event/src/Dispatcher.php:486)
  at Joomla\Event\Dispatcher->dispatch('onError', object(ErrorEvent))
     (/home/authorsinfo/public_html/libraries/src/Application/EventAware.php:107)
  at Joomla\CMS\Application\WebApplication->triggerEvent('onError', object(ErrorEvent))
     (/home/authorsinfo/public_html/libraries/src/Application/CMSApplication.php:321)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home/authorsinfo/public_html/includes/app.php:61)
  at require_once('/home/authorsinfo/public_html/includes/app.php')
     (/home/authorsinfo/public_html/index.php:32)