<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Fatal error: Call to a member function]]></title><description><![CDATA[<p dir="auto">Ciao<br />
la mia pagina web da un giorno all'altro ha dato il seguente errore, da cosa potrebbe dipendere?<br />
<strong>Fatal error</strong>: Call to a member function on a non-object in <strong>/web/htdocs/xxxxxxxxxxxxxxxxxxx/home/folder/index.php</strong> on line <strong>15</strong></p>
<p dir="auto">L'errore si riferisce a questa riga:</p>
<p dir="auto">$query=$ph-&gt;query("SELECT * FROM ".$tbl_prefix."name WHERE category='persone' ORDER BY id DESC LIMIT 0, 10");<br />
while($result = $ph-&gt;fetch($query)) {<br />
extract($result);</p>
<p dir="auto">Fino a 2 giorni fa funzionava tutto bene.<br />
La pagina è su hosting aruba.</p>
]]></description><link>https://dev.connect.gt/topic/110093/fatal-error-call-to-a-member-function</link><generator>RSS for Node</generator><lastBuildDate>Sat, 28 Nov 2026 22:48:27 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/110093.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 12 Sep 2009 07:26:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Fatal error: Call to a member function on Tue, 15 Sep 2009 19:52:36 GMT]]></title><description><![CDATA[<p dir="auto">Ciao macromedio,<br />
secondo me l'oggetto $ph è nullo.</p>
<p dir="auto">Probabilmente durante la creazione dell'istanza succede<br />
qualcosa, te non intercetti l'errore<br />
e al momento di utilizzarlo ti genera l'errore.</p>
<p dir="auto">Prova a fare prima questo test:</p>
<pre><code class="language-php">if(!isset($ph) || empty($ph)) 
   die("Oggetto non utilizzabile");
</code></pre>
<p dir="auto">Ciao</p>
]]></description><link>https://dev.connect.gt/post/856722</link><guid isPermaLink="true">https://dev.connect.gt/post/856722</guid><dc:creator><![CDATA[mirkoagrati]]></dc:creator><pubDate>Tue, 15 Sep 2009 19:52:36 GMT</pubDate></item></channel></rss>