Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Search

    Uncaught Error: Call to a member function _callExternalMethod() on null in .../smarty_internal_data.php:283

    Operating
    2
    3
    1224
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tf last edited by

      Hey guys,

      I try to upgrade the environment for my IdoIT Open 1.11 from PHP 5.6 to 7.1. (Apache 2.4.6, php-fpm 7.1.20)
      I noticed this error:

      [02-Aug-2018 13:07:42 Europe/Berlin] PHP Fatal error:  Uncaught Error: Call to a member function _callExternalMethod() on null in /var/www/html/idoit/vendor/smarty/smarty/libs/sysplugins/smarty_internal_data.php:283
      Stack trace:
      #0 /var/www/html/idoit/src/classes/libraries/isys_library_smarty.class.php(50): Smarty_Internal_Data->__call('registerCacheRe...', Array)
      #1 /var/www/html/idoit/src/classes/components/isys_component_template.class.php(602): isys_library_smarty->__construct(Array)
      #2 /var/www/html/idoit/src/classes/components/isys_component_template.class.php(53): isys_component_template->__construct(Array)
      #3 /var/www/html/idoit/temp/di_container_cache_mandator_none.php(272): isys_component_template::instance()
      #4 /var/www/html/idoit/vendor/symfony/dependency-injection/Container.php(329): idoit\Component\ContainerFacadeCompiled->getTemplateService()
      #5 /var/www/html/idoit/vendor/symfony/dependency-injection/ContainerBuilder.php(559): Symfony\Component\DependencyInjection\Container->get('template', 2)
      #6 /var/www/html/idoit/src/idoit/Component/ContainerFac in /var/www/html/idoit/vendor/smarty/smarty/libs/sysplugins/smarty_internal_data.php on line 283
      [02-Aug-2018 13:08:38 Europe/Berlin] PHP Fatal error:  Uncaught Error: Call to a member function _callExternalMethod() on null in /var/www/html/idoit/vendor/smarty/smarty/libs/sysplugins/smarty_internal_data.php:284
      

      Can you give me a hint what might caused this? Do I need to change idoit configuration for PHP 7.1?

      Thanks in advance,
      tf

      1 Reply Last reply Reply Quote 0
      • F
        franknagel last edited by

        In /var/www/html/idoit/src/classes/libraries/isys_library_smarty.class.php in public function __construct($p_options = []) move the line parent::__construct($p_options); to the beginning of the constructor.

        T 1 Reply Last reply Reply Quote 0
        • T
          tf @franknagel last edited by

          @franknagel Thanks, this fixed the issue.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post