www.question-defense.com | Login/Register
Translate to English Übersetzen Sie zum Deutsch/German Переведите к русскому/Russian Μεταφράστε στα ελληνικά/Greek Vertaal aan het Nederlands/Dutch ترجمة الى العربية/Arabic 中文翻译/Chinese Traditional 中文翻译/Chinese Simplified 한국어에게 번역하십시오/Korean 日本語に翻訳しなさい /Japanese Traduza ao Português/Portuguese Traduca ad Italiano/Italian Traduisez au Français/French Traduzca al Español/Spanish

Another item to note is the latest version of WordPress has a bug with the PHP ul function as noted by Michael Visser. This causes the following error to show up:

Warning: date() expects parameter 2 to be long, string given in
www/wp-content/plugins/wp-forum/forum-functions.php on line 668

This error can be resolved by editing cookie.php in wp-content/wp-plugins/wp-forum/ and replacing this

function ul($user_id){
if(!isset($_COOKIE[’session’])){
update_usermeta( $user_id, ‘lastvisit’, time() );
return true;
}
return false;
}

with

function ul($user_id){
if(isset($_COOKIE[’session’])){
update_usermeta( $user_id, ‘lastvisit’, time() );
return true;
}
return false;
}

The only change is removing the bang(!) from before isset on the second line of the code.

Share: Click an icon below to share using one of the social networking sites below. These icons link to social bookmarking sites where readers can share and discover new web pages.
  • MisterWong
  • Y!GG
  • Webnews
  • Digg
  • del.icio.us
  • StumbleUpon
  • Reddit
  • email
  • Facebook
  • Fark
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Print
  • Slashdot
  • Technorati
  • TwitThis
  • Ask
  • Bloglines
  • Live-MSN
  • Netscape
  • YahooMyWeb

Related posts:

  1. WP Forum Upgrade Error: Warning: implode() [function.implode]: I received
  2. Description: mysql_real_escape_string() expects parameter 1 to be string, object given When attem
  3. Images Not Showing Up Properly For WP-Forum WordPress Plugin After inst
  4. WordPress NextGen Gallery - Add Date Print Out to Compact Album Listings I was work
  5. WordPress HighSlide Plugin Error: ‘hs’ is undefined When integ

Tags: , , , , , ,
Leave a Reply


Privacy Policy