Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




WP-SNAP plugin dont work correctly with RS

UserPost

10:52 pm
April 17, 2011


serge512

Member

posts 2

1

Hi i have a problem with WP-SNAP and the pluging Role Scoper. the problem is that when i am logged of role scooper throws the following error:

Warning: Missing argument 2 for QueryInterceptor_RS::flt_posts_request() in /home/jvs512/carta/wp-content/plugins/role-scoper/query-interceptor_rs.php on line 118

And if I'm logged in as any user, that error disappear!

i though it was an role scoper problem but if i remove the line code:

<?php if (function_exists('wp_snap')) { echo wp_snap(); } ?>

the error disappear!


help me pls i need this to work! Thx for any help i will recive

12:22 pm
April 19, 2011


Kevin

Admin

posts 2503

2

That PHP warning was triggered by the following line in wp-snap.php:

$request = apply_filters('posts_request', $request);

Normally, the wp_query object is passed as the second argument of that filter application. The updated Role Scoper development code (1.3.29-dev) now supports this usage without triggering the warning.

12:49 pm
April 19, 2011


serge512

Member

posts 2

3

Thx so much Kevin i really love the plugin it is quit an excelent tool for CMS and customizing wordpress


About the Agapetry forum

Currently Online:

16 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1249

Posts: 5659

Members:

There are 1261 members

There are 1 guests


Kevin has made 2503 posts

Top Posters:

metal450 - 178

Ragnar - 108

YikYak - 70

whiteorb - 49

Daisy - 35

Administrator: Kevin | Moderators: Kevin