Hallo,
ich wollte an einem Plugin von mir weiter Arbeiten da ist mir Folgender Fehler aufgefallen.
Code
Fatal error: Unable to find parent 'menu item' with name 'tutorial.acp.menu.link.community' for 'menu item' with name 'tutorial.acpMenu.category'.
Information:
id: 6be78f5aca712784bc41fa6a5956554656b977a0
error message: Unable to find parent 'menu item' with name 'tutorial.acp.menu.link.community' for 'menu item' with name 'tutorial.acpMenu.category'.
error code: 0
file: /var/www/vhosts/have-fun-community.de/httpdocs/wcf/lib/system/package/plugin/AbstractMenuPackageInstallationPlugin.class.php (70)
php version: 5.3.29
wcf version: 2.0.13 (Maelstrom)
date: Wed, 15 Feb 2017 18:39:03 +0000
request: /acp/index.php/InstallPackage/?&
referer: https://have-fun-community.de/acp/index.php/PackageInstallationConfirm/?queueID=1464&
Stacktrace:
#0 /var/www/vhosts/have-fun-community.de/httpdocs/wcf/lib/system/package/plugin/AbstractXMLPackageInstallationPlugin.class.php(153): wcf\system\package\plugin\AbstractMenuPackageInstallationPlugin->validateImport(Array)
#1 /var/www/vhosts/have-fun-community.de/httpdocs/wcf/lib/system/package/plugin/AbstractXMLPackageInstallationPlugin.class.php(66): wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin->importItems(Object(DOMXPath))
#2 /var/www/vhosts/have-fun-community.de/httpdocs/wcf/lib/system/package/PackageInstallationDispatcher.class.php(557): wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin->install()
#3 /var/www/vhosts/have-fun-community.de/httpdocs/wcf/lib/system/package/PackageInstallationDispatcher.class.php(140): wcf\system\package\PackageInstallationDispatcher->executePIP(Array)
#4 /var/www/vhosts/have-fun-community.de/httpdocs/wcf/lib/acp/action/InstallPackageAction.class.php(72): wcf\system\package\PackageInstallationDispatcher->install('7515f571')
#5 /var/www/vhosts/have-fun-community.de/httpdocs/wcf/lib/action/AbstractDialogAction.class.php(70): wcf\acp\action\InstallPackageAction->stepInstall()
#6 /var/www/vhosts/have-fun-community.de/httpdocs/wcf/lib/action/AbstractAction.class.php(49): wcf\action\AbstractDialogAction->execute()
#7 /var/www/vhosts/have-fun-community.de/httpdocs/wcf/lib/system/request/Request.class.php(58): wcf\action\AbstractAction->__run()
#8 /var/www/vhosts/have-fun-community.de/httpdocs/wcf/lib/system/request/RequestHandler.class.php(108): wcf\system\request\Request->execute()
#9 /var/www/vhosts/have-fun-community.de/httpdocs/acp/index.php(10): wcf\system\request\RequestHandler->handle('wbb', true)
#10 {main}
Alles anzeigen
Wenn ich nun in meine acpMenu.xml rein schaue steht Folgendes drinne.
XML
<!-- acpmenuitem "tutorial.acpMenu.category" -->
<acpmenuitem name="tutorial.acpMenu.category">
<!-- parent -->
<parent>tutorial.acp.menu.link.community</parent>
<!-- permissions -->
<permissions>tutorial.userGroupOption.administrator.canViewCategoryList</permissions>
</acpmenuitem>
Wenn ich das nun richtig sehe ist das warum er meckert doch vorhanden,warum meckert er dann?