About Brendan Carr

A Leading Technology Company that offers Web & IT Services in the Fraser Valley - Mission, Abbotsford, and Langley.

WordPress Navigation Drill Down

I was looking for a way to drill down the menu structure in a wordpress widget that shows you all of the navigation pages. Turns out all you need to do is set it up using CSS, as wordpress already outputs all of the information you need to style it. What the widget had to [...]

WordPress Navigation Drill Down2013-07-26T21:01:43-07:00

ereg, eregi, ereg_replace is Deprecated

Since upgrading to PHP 5.3, there has been a lot of deprecated code that I’ve had to fix. Another of these is the family of ereg() eregi() and ereg_replace() – all of which can be replaced by preg_match(). While searching how to fix it, I came across a few sites that all gave similar results. [...]

ereg, eregi, ereg_replace is Deprecated2012-05-23T16:42:13-07:00

Joomla dispatcher.php and event.php Fix Errors

There are a few plugins that aren’t compatible with PHP 5.3+ and Joomla 1.5x, and they may show up like the error messages below: PHP Warning: Parameter 2 to plgContentEmailCloak() expected to be a reference, value given in /libraries/joomla/event/dispatcher.php on line 136 […]

Joomla dispatcher.php and event.php Fix Errors2017-03-14T17:31:48-07:00

Assigning the return value of new by reference is deprecated

So you’ve run into this error message, sometimes in WordPress or another CMS that utilizes code that is considered depreciated. This is sometimes caused by an update to PHP – which is what’s happened in this case. Essentially, Since PHP 5.3 assigning the return value is depreciated. […]

Assigning the return value of new by reference is deprecated2012-05-17T09:00:03-07:00
Go to Top