We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28042 ☆ A M B ☆
    • 24,524 Posts
    Raymond, I see that two files, tmplvars.commands.inc.php and tmplvars.format.inc.php are still using the $etomite variable as the class variable, and calling the older version of the main parser class:
    function ProcessTVCommand($etomite,$value){
    	if(empty($etomite)) {
    		include_once dirname(__FILE__)."/parser.class.inc.php";
    		$etomite = new etomite;	// initiate a new document parser
    		$etomite->getSettings(); // load settings
    

    in tmplvars.commands.inc.php, and
    	function getTVDisplayFormat($etomite,$name,$value,$format,$paramstring="",$tvtype="") {
    		global $modx;
    		global $base_path;
    

    in tmplvars.format.inc.php. Is this correct?
      Studying MODX in the desert - http://sottwell.com
      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
      Join the Slack Community - http://modx.org
      • 32963
      • 1,732 Posts
      Raymond, I see that two files, tmplvars.commands.inc.php and tmplvars.format.inc.php are still using the $etomite variable as the class variable, and calling the older version of the main parser class:
      function ProcessTVCommand($etomite,$value){
      	if(empty($etomite)) {
      		include_once dirname(__FILE__)."/parser.class.inc.php";
      		$etomite = new etomite;	// initiate a new document parser
      		$etomite->getSettings(); // load settings
      

      in tmplvars.commands.inc.php, and
      	function getTVDisplayFormat($etomite,$name,$value,$format,$paramstring="",$tvtype="") {
      		global $modx;
      		global $base_path;
      

      in tmplvars.format.inc.php. Is this correct?

      Hi Susan,

      Many thanks.
        xWisdom
        www.xwisdomhtml.com
        The fear of the Lord is the beginning of wisdom:
        MODx Co-Founder - Create and do more with less.
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        getting this when checking out the Backup Manager:
        Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in
        bkmanager.static.action.php on line 295
        *--* also Import Site*--*
        import_site.static.action.php on line 172
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org