We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8416
    • 173 Posts
    Hello,
    I’m trying to install SMF forum integration with MODx but I get this error:
    PHP Fatal error: Call to undefined method synccache::getFullTableName() in D:\webs\mySite\manager\processors\cache_sync.class.processor.php on line 101 


    I checked the cache_sync.class.processor.php file and $modx is defined as global as follow:
    global $modx;
    
    		$tmpPHP = "<?php\n";
    
    		// SETTINGS & DOCUMENT LISTINGS CACHE
    
    		// get settings
    		$sql = 'SELECT * FROM '.$modx->getFullTableName('system_settings');

    Does anyone know why I’m getting an call to undefined method....
    Thanks in advance for your help.
      • 8416
      • 173 Posts
      fyi - I fixed it by adding by adding those 2 lines in instprocessor.php after line 242
      // initiate a new document parser
      include_once('../manager/includes/document.parser.class.inc.php');
      $modx = new DocumentParser;