Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 25586 bytes) in /home/mysite/public_html/manager/processors/cache_sync.class.processor.php on line 44
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 25586 bytes) in /home/mysite/public_html/manager/processors/cache_sync.class.processor.php on line 44
function getTVValue($tv) { $modx =& $GLOBALS['modx']; $additionalEncodings = array('-' => '%2D', '.' => '%2E', '_' => '%5F'); $tvname = str_replace(array_keys($additionalEncodings), array_values($additionalEncodings), rawurlencode($tv)); if(array_key_exists('tv'.$tvname, $_POST)) { include_once $GLOBALS['modx']->config['base_path'] . 'manager/includes/tmplvars.commands.inc.php'; $val = $_POST['tv'.$tvname]; $id = $_POST['id']; if($val == '@INHERIT' && empty($_POST['id']) && !empty($_POST['parent'])) { // we have to look at parent directly $id = $_POST['parent']; $parent = $modx->getPageInfo($_POST['parent'], 0, 'id,parent,published'); $ptv = $modx->getTemplateVar($tv, '*', $parent['id'], $parent['published']); $val = $ptv['value']; }
Hi,
Here are the steps...
- Right click on a Resource that has a child in the tree on the left
Select Edit Resource from the menu
Click on the Parent Resource field (it responds "Please select a node in the tree to the left")
In the tree on the left select the child of the Resource you are editing.
Let me know if you can recreate this,
Cheers for your help
Just to follow up, this is a bug present in Revolution 2.0.7 traditional. I upgraded to 2.1.2 where it’s been fixed.Evo Bug posted in the Evolution part of the forum