www.question-defense.com | Engage: Visit :: 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
0

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.

DeliciousStumbleUponDiggTwitterMixxTechnoratiFacebookNews VineLinkedInYahoo! Bookmarks
Related posts:
  1. WP Forum Upgrade Error: Warning: implode() [function.implode]: I received the below two errors when viewing WP-Forum after...
  2. Add SEO Friendly Page Titles To The WP-Forum WordPress Plugin Awhile back I found some code that described how to...
  3. Description: mysql_real_escape_string() expects parameter 1 to be string, object given When attempting to process an order using ClientExec you may...
  4. WordPress NextGen Gallery – Add Date Print Out to Compact Album Listings I was working on my personal blog and wanted to...
  5. WARNING: Your version of iTALM requires upgrading please visit the upgrade page I have been using iTunes Affiliate Link Maker (iTALM) for...

Tags: , , , , , ,
Leave a Reply