Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.

 View Only
  • 1.  How do I solve this issue?

    Posted Sat May 02, 2020 12:37 PM
    My client is using CentOS & 64bit with VestaCP Control Panel.


    Deprecation Notice in ./libraries/classes/Url.php#253
     Array and string offset access syntax with curly braces is deprecated

    Backtrace

    functions.php#74: include_once()
    Autoload.php#210: Fedora\Autoloader\includeFile(string '/usr/share/phpMyAdmin/libraries/classes/Url.php')
    Fedora\Autoloader\Autoload::loadClass(string 'PhpMyAdmin\\Url')
    ./libraries/classes/Header.php#234: spl_autoload_call(string 'PhpMyAdmin\\Url')
    ./libraries/classes/Header.php#286: PhpMyAdmin\Header->getJsParams()
    ./libraries/classes/Header.php#217: PhpMyAdmin\Header->getJsParamsCode()
    ./libraries/classes/Header.php#144: PhpMyAdmin\Header->_addDefaultScripts()
    ./libraries/classes/Response.php#178: PhpMyAdmin\Header->__construct()
    ./libraries/classes/Response.php#212: PhpMyAdmin\Response->__construct()
    ./libraries/classes/Plugins/Auth/AuthenticationCookie.php#89: PhpMyAdmin\Response::getInstance()
    ./libraries/classes/Plugins/AuthenticationPlugin.php#265: PhpMyAdmin\Plugins\Auth\AuthenticationCookie->showLoginForm()
    ./libraries/common.inc.php#366: PhpMyAdmin\Plugins\AuthenticationPlugin->authenticate()
    ./index.php#23: require_once(./libraries/common.inc.php)
    Deprecation Notice in ./libraries/classes/Server/Privileges.php#4023
     Array and string offset access syntax with curly braces is deprecated

    Backtrace

    functions.php#74: include_once()
    Autoload.php#210: Fedora\Autoloader\includeFile(string '/usr/share/phpMyAdmin/libraries/classes/Server/Privileges.php')
    Fedora\Autoloader\Autoload::loadClass(string 'PhpMyAdmin\\Server\\Privileges')
    ./libraries/classes/Twig/ServerPrivilegesExtension.php#34: spl_autoload_call(string 'PhpMyAdmin\\Server\\Privileges')
    ExtensionSet.php#438: PhpMyAdmin\Twig\ServerPrivilegesExtension->getFunctions()
    ExtensionSet.php#423: Twig\ExtensionSet->initExtension()
    ExtensionSet.php#243: Twig\ExtensionSet->initExtensions()
    Environment.php#797: Twig\ExtensionSet->getFilter(string 'error')
    ./../../../../../../tmp/twig/3c/3cfa37e6aa9d91c51c0106c5985cb5f972e28e377abceba88244e0cc7e4ab758.php#63: Twig\Environment->getFilter(string 'error')
    Template.php#407: __TwigTemplate_b94fcc3f26f66bb9f5554b68d3bd086ac3f9d446c135f4d025f547a85a4f2926->doDisplay(
    array,
    array,
    )
    Template.php#380: Twig\Template->displayWithErrorHandling(
    array,
    array,
    )
    Template.php#392: Twig\Template->display(array)
    TemplateWrapper.php#45: Twig\Template->render(
    array,
    array,
    )
    ./libraries/classes/Template.php#140: Twig\TemplateWrapper->render(array)
    ./libraries/classes/Plugins/Auth/AuthenticationCookie.php#144: PhpMyAdmin\Template->render(
    string 'login/header',
    array,
    )
    ./libraries/classes/Plugins/AuthenticationPlugin.php#265: PhpMyAdmin\Plugins\Auth\AuthenticationCookie->showLoginForm()
    ./libraries/common.inc.php#366: PhpMyAdmin\Plugins\AuthenticationPlugin->authenticate()
    ./index.php#23: require_once(./libraries/common.inc.php)
    Deprecation Notice in ./libraries/classes/Server/Privileges.php#4278
     Array and string offset access syntax with curly braces is deprecated

    Backtrace

    functions.php#74: include_once()
    Autoload.php#210: Fedora\Autoloader\includeFile(string '/usr/share/phpMyAdmin/libraries/classes/Server/Privileges.php')
    Fedora\Autoloader\Autoload::loadClass(string 'PhpMyAdmin\\Server\\Privileges')
    ./libraries/classes/Twig/ServerPrivilegesExtension.php#34: spl_autoload_call(string 'PhpMyAdmin\\Server\\Privileges')
    ExtensionSet.php#438: PhpMyAdmin\Twig\ServerPrivilegesExtension->getFunctions()
    ExtensionSet.php#423: Twig\ExtensionSet->initExtension()
    ExtensionSet.php#243: Twig\ExtensionSet->initExtensions()
    Environment.php#797: Twig\ExtensionSet->getFilter(string 'error')
    ./../../../../../../tmp/twig/3c/3cfa37e6aa9d91c51c0106c5985cb5f972e28e377abceba88244e0cc7e4ab758.php#63: Twig\Environment->getFilter(string 'error')
    Template.php#407: __TwigTemplate_b94fcc3f26f66bb9f5554b68d3bd086ac3f9d446c135f4d025f547a85a4f2926->doDisplay(
    array,
    array,
    )
    Template.php#380: Twig\Template->displayWithErrorHandling(
    array,
    array,
    )
    Template.php#392: Twig\Template->display(array)
    TemplateWrapper.php#45: Twig\Template->render(
    array,
    array,
    )
    ./libraries/classes/Template.php#140: Twig\TemplateWrapper->render(array)
    ./libraries/classes/Plugins/Auth/AuthenticationCookie.php#144: PhpMyAdmin\Template->render(
    string 'login/header',
    array,
    )
    ./libraries/classes/Plugins/AuthenticationPlugin.php#265: PhpMyAdmin\Plugins\Auth\AuthenticationCookie->showLoginForm()
    ./libraries/common.inc.php#366: PhpMyAdmin\Plugins\AuthenticationPlugin->authenticate()
    ./index.php#23: require_once(./libraries/common.inc.php)


    ------------------------------
    Steve Hammerson
    www.technoserves.com
    ------------------------------

    #DecisionOptimization


  • 2.  RE: How do I solve this issue?

    Posted Mon May 04, 2020 01:47 AM
    Not sure how you ended up here since your problem seems unrelated to decision optimization. It looks like a problem with PHP.

    I am not a PHP expert but a quick search on google produces a lot of intersting reads about this issue, for example this one. I guess you have to either upgrade your library, disable the warning, or just ignore the warning.

    ------------------------------
    Daniel Junglas
    ------------------------------