Thanks PeejAvery, I see the error, it's in the menu.php:
Code:
<?php
	include_once("../scripts/MenuBar.class.php");
	
	$menu = new MenuBar();
	$menu->add(new MenuItem("Google", "http://www.google.co.cr/", "_blank"));//line (5) of error (resolved)
	$menu->show();
?>
previously I send three params at the function 'add()' of class 'MenuItem'
Before:
Code:
$menu->add("Google", "http://www.google.co.cr/", "_blank"));//line 5, bad!
Now, I send only one param, yes, my 'add()' only recv one param (type of 'MenuItem')!!
After:
Code:
$menu->add(new MenuItem("Google", "http://www.google.co.cr/", "_blank"));//line 5, good!
Thanks again PeejAvery!!