Guten Tag,
Mein Vorhaben:
WBB zwischen WP Header und Footer legen
Problem:
um bei WBB etwas zu includen benötigt man anscheind ein includePHP plugin
diese lass ich die wp-blog-header.php abrufen
{includePHP file='../wp-blog-header.php'}
jeodch scheint es bei den Wordpress Plugins Probleme zu geben
es erscheint Fatal Php Error und die plugins haben dann bestimmte vars nich definiert
Fatal error: PHP notice in file /var/www/USER/html/WORDPRESS/wp-content/plugins/visitor-maps/visitor-maps.php (1578): Undefined variable: visitor_maps_opt
Information:
error message: PHP notice in file /var/www/USER/html/WORDPRESS/wp-content/plugins/visitor-maps/visitor-maps.php (1578): Undefined variable: visitor_maps_opt
error code: 0
file: /var/www/USER/html/WORDPRESS/forum/wcf/lib/system/WCF.class.php (281)
php version: 5.2.17
wcf version: 1.1.9 (Tempest)
date: Tue, 28 May 2013 06:49:36 +0000
request: /forum/index.php?page=Index
referer: http://domain.com/forum/index.php?page=Index
Stacktrace:
#0 /var/www/USER/html/WORDPRESS/wp-content/plugins/visitor-maps/visitor-maps.php(1578): WCF::handleError(8, 'Undefined varia...', '/var/www/USER...', 1578, Array)
#1 /var/www/USER/html/WORDPRESS/wp-settings.php(195): include_once('/var/www/USER...')
#2 /var/www/USER/html/WORDPRESS/wp-config.php(90): require_once('/var/www/USER...')
#3 /var/www/USER/htmll/WORDPRESS/wp-load.php(29): require_once('/var/www/USER...')
#4 /var/www/USER/htmll/WORDPRESS/forum/wcf/templates/compiled/48_1_1_header.php(169): include_once('/var/www/USER...')
#5 /var/www/USER/htmll/WORDPRESS/forum/wcf/lib/system/template/Template.class.php(267): include('/var/www/USER...')
#6 /var/www/USER/htmll/WORDPRESS/forum/wcf/lib/system/template/Template.class.php(436): Template->display('header', false)
#7 /var/www/USER/htmll/WORDPRESS/forum/wcf/templates/compiled/48_1_1_index.php(41): Template->includeTemplate('header', Array, 0)
#8 /var/www/USER/html/WORDPRESS/forum/wcf/lib/system/template/Template.class.php(267): include('/var/www/USER...')
#9 /var/www/USER/html/WORDPRESS/forum/wcf/lib/page/AbstractPage.class.php(100): Template->display('index')
#10 /var/www/USER/html/WORDPRESS/forum/wcf/lib/page/AbstractPage.class.php(46): AbstractPage->show()
#11 /var/www/USER/htmll/WORDPRESS/forum/wcf/lib/util/RequestHandler.class.php(64): AbstractPage->__construct()
#12 /var/www/USER/htmll/WORDPRESS/forum/wcf/lib/util/RequestHandler.class.php(92): RequestHandler->__construct('Index', Array, 'page')
#13 /var/www/USER/htmll/WORDPRESS/forum/index.php(8): RequestHandler::handle(Array)
#14 {main}
Alles anzeigen
Ich bin mir nicht sicher ob es jetzt am includePHP liegt oder an wordpress daher habe ich es im WBB support und WP Support gepostet
(wenn ich die plugins deaktiviere werden es weniger meldungen jedoch sind einige plugins wie qtranslate (hier deaktiviert) sehr wichtig für mich da sich im footer und header langstrings befinden)
Vielen Dank schon mal für die Hilfe
MfG
PDX