Whoops \ Exception \ ErrorException (E_DEPRECATED)
json_decode(): Passing null to parameter #1 ($json) of type string is deprecated Whoops\Exception\ErrorException thrown with message "json_decode(): Passing null to parameter #1 ($json) of type string is deprecated" Stacktrace: #7 Whoops\Exception\ErrorException in /home/softecco/public_html/update/components/com_gantry5/gantry5.php:102 #6 json_decode in /home/softecco/public_html/update/components/com_gantry5/gantry5.php:102 #5 require_once in /home/softecco/public_html/update/libraries/src/Component/ComponentHelper.php:402 #4 Joomla\CMS\Component\ComponentHelper:executeComponent in /home/softecco/public_html/update/libraries/src/Component/ComponentHelper.php:377 #3 Joomla\CMS\Component\ComponentHelper:renderComponent in /home/softecco/public_html/update/libraries/src/Application/SiteApplication.php:194 #2 Joomla\CMS\Application\SiteApplication:dispatch in /home/softecco/public_html/update/libraries/src/Application/SiteApplication.php:233 #1 Joomla\CMS\Application\SiteApplication:doExecute in /home/softecco/public_html/update/libraries/src/Application/CMSApplication.php:225 #0 Joomla\CMS\Application\CMSApplication:execute in /home/softecco/public_html/update/index.php:49
Stack frames (8)
7
Whoops\Exception\ErrorException
/home/softecco/public_html/update/components/com_gantry5/gantry5.php102
6
json_decode
/home/softecco/public_html/update/components/com_gantry5/gantry5.php102
5
require_once
/home/softecco/public_html/update/libraries/src/Component/ComponentHelper.php402
4
Joomla\CMS\Component\ComponentHelper executeComponent
/home/softecco/public_html/update/libraries/src/Component/ComponentHelper.php377
3
Joomla\CMS\Component\ComponentHelper renderComponent
/home/softecco/public_html/update/libraries/src/Application/SiteApplication.php194
2
Joomla\CMS\Application\SiteApplication dispatch
/home/softecco/public_html/update/libraries/src/Application/SiteApplication.php233
1
Joomla\CMS\Application\SiteApplication doExecute
/home/softecco/public_html/update/libraries/src/Application/CMSApplication.php225
0
Joomla\CMS\Application\CMSApplication execute
/home/softecco/public_html/update/index.php49
}
$document->setTitle($title);
 
// Set description.
if ($params->get('menu-meta_description')) {
    $document->setDescription($params->get('menu-meta_description'));
}
 
// Set Keywords.
if ($params->get('menu-meta_keywords')) {
    $document->setMetaData('keywords', $params->get('menu-meta_keywords'));
}
 
// Set robots.
if ($params->get('robots')) {
    $document->setMetaData('robots', $params->get('robots'));
}
 
/** @var object $params */
$data = json_decode($params->get('particle'), true);
if (!$data) {
    // No component output.
    return;
}
 
$context = [
    'gantry' => $gantry,
    'noConfig' => true,
    'inContent' => true,
    'segment' => [
        'id' => 'main-particle',
        'type' => $data['type'],
        'classes' => $params->get('pageclass_sfx'),
        'subtype' => $data['particle'],
        'attributes' => $data['options']['particle'],
    ]
];
 
// Render the particle.
echo trim($theme->render('@nucleus/content/particle.html.twig', $context));
}
$document->setTitle($title);
 
// Set description.
if ($params->get('menu-meta_description')) {
    $document->setDescription($params->get('menu-meta_description'));
}
 
// Set Keywords.
if ($params->get('menu-meta_keywords')) {
    $document->setMetaData('keywords', $params->get('menu-meta_keywords'));
}
 
// Set robots.
if ($params->get('robots')) {
    $document->setMetaData('robots', $params->get('robots'));
}
 
/** @var object $params */
$data = json_decode($params->get('particle'), true);
if (!$data) {
    // No component output.
    return;
}
 
$context = [
    'gantry' => $gantry,
    'noConfig' => true,
    'inContent' => true,
    'segment' => [
        'id' => 'main-particle',
        'type' => $data['type'],
        'classes' => $params->get('pageclass_sfx'),
        'subtype' => $data['particle'],
        'attributes' => $data['options']['particle'],
    ]
];
 
// Render the particle.
echo trim($theme->render('@nucleus/content/particle.html.twig', $context));
        {
            \JProfiler::getInstance('Application')->mark('afterRenderComponent ' . $option);
        }
 
        return $contents;
    }
 
    /**
     * Execute the component.
     *
     * @param   string  $path  The component path.
     *
     * @return  string  The component output
     *
     * @since   1.7
     */
    protected static function executeComponent($path)
    {
        ob_start();
        require_once $path;
 
        return ob_get_clean();
    }
 
    /**
     * Load the installed components into the components property.
     *
     * @param   string  $option  The element value for the extension
     *
     * @return  boolean  True on success
     *
     * @since   1.5
     * @deprecated  4.0  Use JComponentHelper::load() instead
     */
    protected static function _load($option)
    {
        return static::load($option);
    }
 
    /**
             */
            define('JPATH_COMPONENT_ADMINISTRATOR', JPATH_ADMINISTRATOR . '/components/' . $option);
        }
 
        $path = JPATH_COMPONENT . '/' . $file . '.php';
 
        // If component is disabled throw error
        if (!static::isEnabled($option) || !file_exists($path))
        {
            throw new MissingComponentException(\JText::_('JLIB_APPLICATION_ERROR_COMPONENT_NOT_FOUND'), 404);
        }
 
        // Load common and local language files.
        $lang->load($option, JPATH_BASE, null, false, true) || $lang->load($option, JPATH_COMPONENT, null, false, true);
 
        // Handle template preview outlining.
        $contents = null;
 
        // Execute the component.
        $contents = static::executeComponent($path);
 
        // Revert the scope
        $app->scope = $scope;
 
        if (JDEBUG)
        {
            \JProfiler::getInstance('Application')->mark('afterRenderComponent ' . $option);
        }
 
        return $contents;
    }
 
    /**
     * Execute the component.
     *
     * @param   string  $path  The component path.
     *
     * @return  string  The component output
     *
     * @since   1.7
 
            case 'feed':
                $document->setBase(htmlspecialchars(\JUri::current()));
                break;
        }
 
        $document->setTitle($params->get('page_title'));
        $document->setDescription($params->get('page_description'));
 
        // Add version number or not based on global configuration
        if ($this->get('MetaVersion', 0))
        {
            $document->setGenerator('Joomla! - Open Source Content Management - Version ' . JVERSION);
        }
        else
        {
            $document->setGenerator('Joomla! - Open Source Content Management');
        }
 
        $contents = ComponentHelper::renderComponent($component);
        $document->setBuffer($contents, 'component');
 
        // Trigger the onAfterDispatch event.
        \JPluginHelper::importPlugin('system');
        $this->triggerEvent('onAfterDispatch');
    }
 
    /**
     * Method to run the Web application routines.
     *
     * @return  void
     *
     * @since   3.2
     */
    protected function doExecute()
    {
        // Initialise the application
        $this->initialiseApp();
 
        // Mark afterInitialise in the profiler.
        // Mark afterInitialise in the profiler.
        JDEBUG ? $this->profiler->mark('afterInitialise') : null;
 
        // Route the application
        $this->route();
 
        // Mark afterRoute in the profiler.
        JDEBUG ? $this->profiler->mark('afterRoute') : null;
 
        /*
         * Check if the user is required to reset their password
         *
         * Before $this->route(); "option" and "view" can't be safely read using:
         * $this->input->getCmd('option'); or $this->input->getCmd('view');
         * ex: due of the sef urls
         */
        $this->checkUserRequireReset('com_users', 'profile', 'edit', 'com_users/profile.save,com_users/profile.apply,com_users/user.logout');
 
        // Dispatch the application
        $this->dispatch();
 
        // Mark afterDispatch in the profiler.
        JDEBUG ? $this->profiler->mark('afterDispatch') : null;
    }
 
    /**
     * Return the current state of the detect browser option.
     *
     * @return    boolean
     *
     * @since    3.2
     */
    public function getDetectBrowser()
    {
        return $this->_detect_browser;
    }
 
    /**
     * Return the current state of the language filter.
     *
            array('option', 'view', 'format', 'lang', 'Itemid', 'template', 'templateStyle', 'task'),
            function($systemVariable) use ($input) {
                return $input->exists($systemVariable) && is_array($input->getRaw($systemVariable));
            }
        );
 
        // Unset invalid system variables
        foreach ($invalidInputVariables as $systemVariable)
        {
            $input->set($systemVariable, null);
        }
 
        // Abort when there are invalid variables
        if ($invalidInputVariables)
        {
            throw new \RuntimeException('Invalid input, aborting application.');
        }
 
        // Perform application routines.
        $this->doExecute();
 
        // If we have an application document object, render it.
        if ($this->document instanceof \JDocument)
        {
            // Render the application output.
            $this->render();
        }
 
        // If gzip compression is enabled in configuration and the server is compliant, compress the output.
        if ($this->get('gzip') && !ini_get('zlib.output_compression') && ini_get('output_handler') !== 'ob_gzhandler')
        {
            $this->compress();
 
            // Trigger the onAfterCompress event.
            $this->triggerEvent('onAfterCompress');
        }
 
        // Send the application response.
        $this->respond();
 
{
    include_once __DIR__ . '/defines.php';
}
 
if (!defined('_JDEFINES'))
{
    define('JPATH_BASE', __DIR__);
    require_once JPATH_BASE . '/includes/defines.php';
}
 
require_once JPATH_BASE . '/includes/framework.php';
 
// Set profiler start time and memory usage and mark afterLoad in the profiler.
JDEBUG ? JProfiler::getInstance('Application')->setStart($startTime, $startMem)->mark('afterLoad') : null;
 
// Instantiate the application.
$app = JFactory::getApplication('site');
 
// Execute the application.
$app->execute();
 

Environment & details:

empty
empty
empty
empty
empty
Key Value
USER softecco
HOME /home/softecco
SCRIPT_NAME /index.php
REQUEST_URI /index.php
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REMOTE_PORT 39604
SCRIPT_FILENAME /home/softecco/public_html/update/index.php
SERVER_ADMIN webmaster@update.softec.com.mx
CONTEXT_DOCUMENT_ROOT /home/softecco/public_html/update
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /home/softecco/public_html/update
REMOTE_ADDR 3.235.42.157
SERVER_PORT 443
SERVER_ADDR 162.214.96.64
SERVER_NAME update.softec.com.mx
SERVER_SOFTWARE Apache
SERVER_SIGNATURE
PATH /usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin
HTTP_HOST update.softec.com.mx
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
proxy-nokeepalive 1
SSL_TLS_SNI update.softec.com.mx
HTTPS on
UNIQUE_ID Zfj8BSOjNeM_GUEHg-Bo-AAAAJY
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710816261.8693
REQUEST_TIME 1710816261
argv Array ( )
argc 0
empty
0. Whoops\Handler\PrettyPageHandler