Plugin errors
-
There are two plugins I have problems with:
CG-FlashyTitles
and
WordPress ReportsOn FlashyTitles, nothing displays on the page except
th { background: #aabbdd; } th.inbtn, td.inbtn { background: white; } .fex td,.rodd td,.reven td { height: 50px; vertical-align: middle; border-bottom: 1px solid #aabbdd;} td input {font: normal 100% “Courier New”, courier, monospace; } .rhead { color: blue; text-align: right; padding-right: 8px; } .lhead { color: blue; text-align: left; padding-left: 4px; } .clearboth { clear: both; }
Catchable fatal error: Object of class Directory could not be converted to string in C:\wamp\www\Wordpress\wp-content\plugins\cg-flashytitles.php on line 208On Reports I get the top of the wordpress admin manager screen and then I see
xmlParser = new tantan_xml(false, true, true); $this->xmlParser->_replace = array(); $this->xmlParser->_replaceWith = array(); require_once(dirname(__FILE__).’/lib/curl.php’); $this->req =& new TanTanCurl(); } function getFeedData($feed, $start=false, $stop=false) { $url = “http://api.feedburner.com/awareness/1.0/GetFeedData?uri=”.$feed; if ($start && $stop) { $stop = date(‘Y-m-d’, strtotime($stop)); $start = date(‘Y-m-d’, strtotime($start)); $url .= “&dates=$start,$stop”; } $this->req->setMethod(HTTP_REQUEST_METHOD_GET); $this->req->setURL($url); $this->req->sendRequest(); $response = $this->req->getResponseBody(); if ($response) { // check ok $data = $this->_parseXML($response); } return $data; } function _parseXML($xml) { $return = array(); $data = $this->xmlParser->parse($xml); if ($data[‘rsp’][‘stat’] == ‘ok’) { $return[‘uri’] = $data[‘rsp’][‘feed’][‘uri’]; $return[‘url’] = ‘http://feeds.feedburner.com/’.$data[‘rsp’][‘feed’][‘uri’]; $return[‘records’] = array(); if ($data[‘rsp’][‘feed’][‘entry’][0]) { foreach ($data[‘rsp’][‘feed’][‘entry’] as $rec) { $return[‘records’][] = $this->_record($rec); } } else { $return[‘records’][] = $this->_record($data[‘rsp’][‘feed’][‘entry’]); } foreach ($return[‘records’] as $rec) { if ($rec[‘Hits’] > $return[‘MaxHits’]) { $return[‘MaxHits’] = $rec[‘Hits’]; } if ($rec[‘Circulation’] > $return[‘MaxCirculation’]) { $return[‘MaxCirculation’] = $rec[‘Circulation’]; } } } elseif ($data[‘rsp’][‘stat’] == ‘fail’) { $return[‘error’] = $data[‘rsp’][‘err’][‘msg’]; } return $return; } function _record($rec) { return array( ‘Date’ => ereg_replace(‘-‘, ”, $rec[‘date’]), ‘Date Label’ => date(‘D n/j’, strtotime($rec[‘date’])), ‘Circulation’ => $rec[‘circulation’], ‘Hits’ => $rec[‘hits’], ); } } ?>
Fatal error: Class ‘tantan_FeedBurner’ not found in C:\wamp\www\Wordpress\wp-content\plugins\tantan\tantan_reports_config.php on line 32any idea as to what’s wrong?
The topic ‘Plugin errors’ is closed to new replies.