<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Travis Seitler &#187; wordpress</title>
	<atom:link href="http://travis.webseitler.com/tag/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://travis.webseitler.com</link>
	<description>Sarasota, FL web designer &#38; developer</description>
	<lastBuildDate>Mon, 09 Jan 2012 15:08:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Filling in some potholes</title>
		<link>http://travis.webseitler.com/2007/10/filling-in-some-potholes.html</link>
		<comments>http://travis.webseitler.com/2007/10/filling-in-some-potholes.html#comments</comments>
		<pubDate>Fri, 19 Oct 2007 11:00:39 +0000</pubDate>
		<dc:creator>Travis Seitler</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[phpmyadmin]]></category>
		<category><![CDATA[timeout]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://travis.webseitler.com/2007/10/filling-in-some-potholes.html</guid>
		<description><![CDATA[Yesterday I went into PHPMyAdmin and repaired a few database tables (some with upwards of a megabyte in overhead). Hopefully that will improve the site&#8217;s performance. I&#8217;ve been getting lots of MySQL timeout errors here lately. It&#8217;s either that, or &#8230; <a href="http://travis.webseitler.com/2007/10/filling-in-some-potholes.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Yesterday I went into PHPMyAdmin and repaired a few database tables (some with upwards of a megabyte in overhead). Hopefully that will improve the site&#8217;s performance. I&#8217;ve been getting lots of MySQL timeout errors here lately.</p>
<p>It&#8217;s either that, or move my blog to its own database. (It&#8217;s currently sharing with a few others I run.)</p>
]]></content:encoded>
			<wfw:commentRss>http://travis.webseitler.com/2007/10/filling-in-some-potholes.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 2.3 and array_merge() issues in widgets.php</title>
		<link>http://travis.webseitler.com/2007/09/wordpress-23-and-array_merge-issues-in-widgetsphp.html</link>
		<comments>http://travis.webseitler.com/2007/09/wordpress-23-and-array_merge-issues-in-widgetsphp.html#comments</comments>
		<pubDate>Tue, 25 Sep 2007 16:29:44 +0000</pubDate>
		<dc:creator>Travis Seitler</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[array_merge()]]></category>
		<category><![CDATA[cutline]]></category>
		<category><![CDATA[flashing]]></category>
		<category><![CDATA[migrating]]></category>
		<category><![CDATA[modded]]></category>
		<category><![CDATA[painless]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress 2.3]]></category>

		<guid isPermaLink="false">http://travis.webseitler.com/2007/09/wordpress-23-and-array_merge-issues-in-widgetsphp.html</guid>
		<description><![CDATA[Alright! I&#8217;ve upgraded to version 2.3, and I&#8217;m in the process of migrating from the K2 Beta Two theme to a modded version of Cutline. Anyway, the upgrade was almost painless. I say almost, because for a few minutes I &#8230; <a href="http://travis.webseitler.com/2007/09/wordpress-23-and-array_merge-issues-in-widgetsphp.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Alright! I&#8217;ve upgraded to version 2.3, and I&#8217;m in the process of migrating from the K2 Beta Two theme to a modded version of Cutline.</p>
<p>Anyway, the upgrade was almost painless. I say almost, because for a few minutes I had an ugly PHP error flashing across the top of every page on the site. <strong>And</strong> when I logged out at one point, I was prevented from logging back in(!).</p>
<p>So here&#8217;s the problem: this server rune PHP5 (5.1.6, to be precise). PHP5 throws a hissy fit if you try to use <code>array_merge()</code> to merge variables that aren&#8217;t explicitly arrays. WordPress 2.3&#8242;s wp-includes/widgets.php file does this very thing.</p>
<p>So how&#8217;d I fix it? After digging around the articles at PHP.net, I went into the widgets.php file and changed line #53 from<br />
<code>	$sidebar = array_merge($defaults, $args);</code><br />
to<br />
<code>	$sidebar = array_merge((array)$defaults, (array)$args);</code><br />
and it seems to have fixed things.</p>
<p>Just wanted to mention this in case other WordPress users like me start pulling out their hair over it. I probably still have a few more issues to track down (seems something keeps trying to use the post2cat table when comments are submitted, hmm&#8230;), but I&#8217;m happy. <img src='http://travis.webseitler.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<blockquote><p>(<strong>Update:</strong> <a href="http://travis.webseitler.com/2008/03/wordpress-2-point-5-smooth-as-buttah.html">still an issue with WordPress 2.5</a>.)</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://travis.webseitler.com/2007/09/wordpress-23-and-array_merge-issues-in-widgetsphp.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

