error
get-simple 3.3.1
lasttweet 1.2
/admin/inc/theme_functions.php(552)
524-556 /admin/inc/theme_functions.php
edit:
code-->quote 4 reading
Quote:Warning: Missing argument 1 for show_tweets(), called in /home/webadedi/public_html/admin/inc/theme_functions.php(552) : eval()'d code on line 4 and defined in /home/webadedi/public_html/plugins/LastTweet/lasttweet_functions.php on line 10
get-simple 3.3.1
lasttweet 1.2
/admin/inc/theme_functions.php(552)
Code:
eval("?>" . strip_decode($component->value) . "<?php ");
524-556 /admin/inc/theme_functions.php
Code:
/**
* Get Component
*
* This will return the component requested.
* Components are parsed for PHP within them.
*
* @since 1.0
* @uses GSDATAOTHERPATH
* @uses getXML
* @modified mvlcek 6/12/2011
*
* @param string $id This is the ID of the component you want to display
* True will return value in XML format. False will return an array
* @return string
*/
function get_component($id) {
global $components;
if (!$components) {
if (file_exists(GSDATAOTHERPATH.'components.xml')) {
$data = getXML(GSDATAOTHERPATH.'components.xml');
$components = $data->item;
} else {
$components = array();
}
}
if (count($components) > 0) {
foreach ($components as $component) {
if ($id == $component->slug) {
eval("?>" . strip_decode($component->value) . "<?php ");
}
}
}
}
edit:
code-->quote 4 reading