Ryan Rampersad
Opinions, Thoughts and Ideas - PHP, Java and Javascript
  • Home
  • About
  • Contact
Browse: Home / truncate

truncate

CakePHP 1.3 Helper $text truncate error

By Ryan on February 22, 2010

Today I was using one of CakePHP’s helper methods, $text->truncate. It gave me these errors and I can’t say I was pleased about it. It reminded me that sometimes, functions aren’t a piece of cake. Warning (2): array_merge() [function.array-merge]: Argument #2 is not an array [CORE/cake/libs/view/helpers/text.php, line 184] Warning (2): extract() [function.extract]: First argument should [...]

Posted in PHP | Tagged CakePHP, Error, helper, PHP, truncate | 2 Responses

Recent Posts

  • Update Ubuntu via Terminal
  • How to install libmysqlclient15off on Ubuntu 10.04
  • The Great iPhone Price
  • My Top 5 AP Computer Science Tips
  • Ubuntu Username/Password On Live CD

Tags

(fluff)Grabber ap Apple array beta blog blogs Browser Browsers CakePHP chrome CSS Design Error exam facebook Firefox fluff friends fluff grabber free Google html ib iGoogle internet explorer Java Javascript linux Microsoft model Mootools music PHP plurk review School SEO solution string Tips ubuntu update Windows windows 7 Wordpress

Search

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
QC: