giadrago
Member
Posted 12 months ago #
I get the same 2 errors with version 3.0.3.
I see that version 3.0.4 will “Fix a PHP issue if a second argument wasn’t supplied to several functions”, but when I download http://downloads.wordpress.org/plugin/wordpress-access-control.3.0.4.zip, I find still version 3.0.3 inside the packet.
So I temporarily edited the plugin code:
line 496
from: function posts_join_paged( $join, $query )
to: function posts_join_paged( $join )
line 509
from: function posts_where_paged( $where, $query )
to: function posts_where_paged( $where )
I hope this doesn't hurt too much other functions.
http://wordpress.org/extend/plugins/wordpress-access-control/
Brandon Wamboldt
Member
Posted 12 months ago #
This issue has been fixed in 3.0.4 (You may have to wait several minutes for the update to show in the plugin directory). Those two functions were only introduced in 3.0.3 and for some reason I didn't catch those errors.
giadrago
Member
Posted 12 months ago #
The update appeared in the plugin directory, but as I said the update contains the same files of version 3.0.3.
I tried updating the plugin in both ways: by direct download from http://downloads.wordpress.org/plugin/wordpress-access-control.3.0.4.zip and via WordPress administrative interface... but the 2 errors are still there and there is no diff between the old file and the new one.
Brandon, I suppose that in wordpress-access-control.3.0.4.zip you mistakenly packed wordpress-access-control.3.0.3 files.
Brandon Wamboldt
Member
Posted 12 months ago #
You are completely correct. Something messed up when I was copying files over for SVN. 3.0.5 has the correct files.
giadrago
Member
Posted 12 months ago #
Thank you, Brandon! Now it works like a charm.
[solved]