We moved to new unified forum!

Please post all new support queries in our New Forum.

T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. Guest
  2. Motivator Hole-in-One Smile Seeker
  3. General Discussion
  4. Wednesday, 01 May 2013
  5.  Subscribe via email
Hy have this error :
Undefined variable: ret in /web/htdocs/http://www.coroteatromunicipalepiacenza.it/home/plugins/system/t3/includes/core/minify.php on line 61

	if($ret){
if (preg_match('/^https?\:/', $url)) { //is full link
if (strpos($url, $base) === false){
// external css
return false;
}

$path = JPath::clean(JPATH_ROOT . '/' . substr($url, strlen($base)));
} else {
$path = JPath::clean(JPATH_ROOT . '/' . ($root && strpos($url, $root) === 0 ? substr($url, strlen($root)) : $url));
}

return is_file($path) ? $path : false;


could someone help my ?
Thanks all for answear
Comment
There are no comments made yet.
Accepted Answer Pending Moderation
0
Votes
Undo
Hi,

this seems to be only a warning.

Change
if($ret)
to
if(isset($ret))


Best regards,

Olli
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hi,

@Oliver Meyer, Thank for you suggestion. It works.
You can contribute to T3 community by create a pull-request on https://github.com/t3framework/t3/commits/master

@Marco
You can use Oliver Meyer's patch or get the fix from https://github.com/t3framework/t3/commit/d186e819d0d367cfe13eeab8ccc793bbe20de902

Regards
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.