Search Results for 'wordpress'
-
Search Results
-
Topic: wp-db prepare warning
After upgrading to 1.6.3 and WP 3.5, somme plugins send warnings about a missing second argument…
Add an empty array and it’s done !
Read here for details
http://www.skyebook.net/blog/2012/12/wpdbprepare-warning-in-wordpress-3-5/
Plugins who give me errors:
“buddypress-links”
“unconfirmed”
May this help.
Plugin: BP Group Reviews 1.3.1
Wordpress 3.5I get the following error after upgrading to wordpress 3.5:
“Warning: Missing argument 2 for wpdb::prepare(), called in /home/kooksj5/public_html/kooksjournal.com/wp-content/plugins/bp-group-reviews/bp-group-reviews.php on line 203 and defined in”
I fixed the problem by changing the bp-group-reviews.php.
1.First change:
Was:$wpdb->prepare( “SELECT activity_id, meta_value AS rating FROM {$bp->activity->table_name_meta} WHERE activity_id IN ({$activity_ids}) AND meta_key = ‘bpgr_rating'” ) );
Is:
“SELECT activity_id, meta_value AS rating FROM {$bp->activity->table_name_meta} WHERE activity_id IN ({$activity_ids}) AND meta_key = ‘bpgr_rating'” );
2.Second change:
was: $wpdb->prepare( ”SELECT m1.group_id, m1.meta_value AS rating, m2.meta_value AS rating_count, m3.meta_value AS ratings_enabled
FROM {$bp->groups->table_name_groupmeta} m1
LEFT JOIN {$bp->groups->table_name_groupmeta} m2 ON (m1.group_id = m2.group_id)
LEFT JOIN {$bp->groups->table_name_groupmeta} m3 ON (m1.group_id = m3.group_id)
WHERE m1.group_id IN ({$group_ids})
AND m1.meta_key = ‘bpgr_rating’
AND m2.meta_key = ‘bpgr_how_many_ratings’
AND m3.meta_key = ‘bpgr_is_reviewable'”) );
is:
”
SELECT m1.group_id, m1.meta_value AS rating, m2.meta_value AS rating_count, m3.meta_value AS ratings_enabled
FROM {$bp->groups->table_name_groupmeta} m1
LEFT JOIN {$bp->groups->table_name_groupmeta} m2 ON (m1.group_id = m2.group_id)
LEFT JOIN {$bp->groups->table_name_groupmeta} m3 ON (m1.group_id = m3.group_id)
WHERE m1.group_id IN ({$group_ids})
AND m1.meta_key = ‘bpgr_rating’
AND m2.meta_key = ‘bpgr_how_many_ratings’
AND m3.meta_key = ‘bpgr_is_reviewable'”) ;
I’m sure JJ is aware of this as I spoke to him earlier.
Only the LEFT hand side of the cropper is showing on upload of an image. It’s an enqueing issue I think.
Just wanted to make people aware it’s a bug.
I’ve tagged it on to this TRAC ticket @djpaul
Not sure if I should create a new one instead?
Hello,
WP Version: 3.5
Buddypress: 1.6.2After a lot of wordpress multisite installations this is the first time i encounter this error.
– To resolve this problem i formated my dedicated server and the problem persist
– I installed with different versions of wordpress and buddypress
– This error occurred in this fresh installation and recently in one old mu installation.
My installation don’t show the correct number of users and sites correctly registered in my site.
Please see images:
– https://dl.dropbox.com/u/7531173/mu/Only1Site1User.png
– https://dl.dropbox.com/u/7531173/mu/UsersNumber.png
– https://dl.dropbox.com/u/7531173/mu/UsersSites%20.pngWhat can i do to resolve this issue?
I’m struggling too much 🙁
Thank you
Vítor Maia
Wondering how users can Post Updates which go into the public area. The only two options which show up are My Profile and any Groups which exist.
I thought this was working when I first started configuring BP.
Running the following on Centos 6.x.
WordPress 3.4.2.
Theme: Frisco for BuddyPress Version 1.6.13
bbPress Version 2.2.2
BP-Registration-Options Version 4.0
BuddyPress Version 1.6.1
BuddyPress Media Version 2.2.8
BuddyPress Moderation Version 0.1.6
BuddyPress Template Pack Version 1.2.1
BuddyPress Toolbar Version 1.5.1
Dynamic Widgets Version 1.5.3
Genesis Connect for BuddyPress Version 1.2
Google ‘Plus one’ Button by kms Version 1.5.0
Google XML Sitemaps Version 3.2.8
If Menu Version 0.1
Statpress Visitors Version 1.5.2.1
Unconfirmed Version 1.2
User Submitted Posts Version 20121120
WP Mail From II Version 1.0.1Which table in the database defines which group forum gets displayed in the main bbPress installation? And how might I manually insert a group forum into the main install?
Here’s a breakdown of facts:
1 –I have 10 groups.
2 –Two of which magically appeared on the main install view (and link through to said-group (this is awesome))
3 –When viewing wp_bb_forums table I see the 8 group forums that are not included in the main view – minus the two that do appear there.
4 –I see no other related database tables.Info:
Wordpress 3.4.2
Buddypress 1.6.1Hi!
I am now working on a wordpress website and i have to integrate two features :
– add an article to “Favorites”
– add an article to “Read later”
I am using BuddyPress plugin for users management. User profiles must contain their “favorites” and “read later” articles (articles pubished by admin or someone else).
But i don’t find the buddypress compatibles plugins to do that.Do you know any plugins allowing that ? Or have you got any solutions for solve my problem ?
Thanks in advance !
Cordialy.
Hello,
I recently set up BuddyPress on a new WordPress site, and I’m having an issue. None of the pages are loading when I click on them in the site. I’m using the default theme as well. The error that the browsers give me is something to do with the redirects. I’m not quite sure what this entails, or what is causing the problem. I’m using Yahoo! Small Business Web Hosting, and my domain is ‘miptoworld.com’. I set it in the hosting CP that the blog will be stored under miptoworld.com/testsite, and to set that as the homepage, so whenever I type in ‘miptoworld.com’ it should go to /testsite, but it just brings up my wp site and on the address bar it says ‘miptoworld.com’. What’s even more strange is that ‘miptoworld.com/testsite’ brings up my admin stuff while typing in just ‘miptoworld.com’ doesn’t. Also, none of these load any of the pages either. Any help would be appreciated, I’ve been trying to figure this out for a couple days.
Carpetfizz