| User | Post |
|
5:01 am July 7, 2008
| David
Guest
| | | |
|
| |
|
|
I recently moved from a hosted environment to my own Server. I setup the server so my setup might be different from the hosting environment. All my word-press plugins work, except for AWP which complains with:
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘AWP_inlineposts::post_paginate’ was given in /var/www/herowner.com/htdocs/wp-includes/plugin.php on line 311
I am running the latest AWP with WP 2.5.1 on:
MYSQL Version : 5.0.54-log
PHP Version : 5.2.6RC4-pl0-gentoo
I wonder what that is coming from? Google was not exactly helpful. If you need my php.ini, please let me know.
|
|
|
11:43 pm July 7, 2008
| Aaron
Admin
| | | |
|
| posts 164 |
|
|
What modules do you have active?
|
|
|
12:31 pm July 10, 2008
| David
Guest
| | | |
|
| |
|
|
php is not setup to do any gzip compression, for the sake of testing mod_security has been turned off. The full list is (not including php):
core_module (static)
mpm_worker_module (static)
http_module (static)
so_module (static)
actions_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_alias_module (shared)
authn_anon_module (shared)
authn_dbm_module (shared)
authn_default_module (shared)
authn_file_module (shared)
authz_dbm_module (shared)
authz_default_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_owner_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgid_module (shared)
deflate_module (shared)
dir_module (shared)
env_module (shared)
expires_module (shared)
ext_filter_module (shared)
filter_module (shared)
headers_module (shared)
include_module (shared)
log_config_module (shared)
logio_module (shared)
mime_module (shared)
mime_magic_module (shared)
rewrite_module (shared)
setenvif_module (shared)
speling_module (shared)
unique_id_module (shared)
usertrack_module (shared)
vhost_alias_module (shared)
|
|
|
10:57 am July 13, 2008
| David
Guest
| | | |
|
| |
|
|
Aaron said:
What modules do you have active?
I think I found a hint on the web that this might have to do with the way some of the code is written:
When using the call_user_func_array function to call a method of an object you may get the error First argument is expected to be a valid callback. This will happen if the method you are calling is set to private. Usually you would expect to get an error stating you are trying to access a private member of an object, but because you are using the call_user_func_array function to call a method you get the invalid callback message. You get this error because call_user_func_array is not allowed to call private methods of a function.
I will admit that I know little php. but if you want me to confirm that I am more than happy to look at teh offending block.
|
|
|
9:56 am July 15, 2008
| Steven
Guest
| | | |
|
| |
|
|
Hi,
I have the exact same problem and my PHP skills are limited. I didn’t change anything (may be my host did!) but it suddenly appeared!
Can you explain how you fixed it if you did.
I’m running WordPress 2.5.1. Shall I upgrade to 2.6 ? Is awp compatible?
Check out my errors at the bottom of my page : http://www.blogsound.net
|
|
|
|
|
although i’m not happy anyone else is experiencing this error, i’m glad i’m not alone. have either of you figured out how to fix this yet? btw: sorry to hear you are under the weather aaron. hope you recover and feel better soon.
|
|
|
8:07 pm July 19, 2008
| David
Guest
| | | |
|
| |
|
|
Steven said:
Hi,
I have the exact same problem and my PHP skills are limited. I didn’t change anything (may be my host did!) but it suddenly appeared!
Can you explain how you fixed it if you did.
I’m running WordPress 2.5.1. Shall I upgrade to 2.6 ? Is awp compatible?
Check out my errors at the bottom of my page : http://www.blogsound.net
Updating to 2.6 does not change anything. I think this is part of the leatest release of PHP where you cannot access a private function inside a class with that version of PHP. I did try to overide it my forcing the function to be public but that did not change a thing. I guess this is something for the experts 
|
|
|
10:21 am July 21, 2008
| Steven
Guest
| | | |
|
| |
|
|
So my host probably installed a new version of PHP. What shall I do then, I don’t have have any control on what PHP version is installed ! I guess I just have to wait for an update from inline post…
Let me know if somebody ever finds a solution, I’ll keep looking and let you know myself.
Thanks for the answer 
|
|
|
5:23 am August 5, 2008
| Aaron
Admin
| | | |
|
| posts 164 |
|
|
Allright it seems to be a problem with the AWP cache module. Go ahead and delete the /modules/awpcache.php file.
|
|
|
8:27 am August 7, 2008
| Steven
Guest
| | | |
|
| |
|
|
Oh my god !
How do you do that ?! It’s fixed !
Thank you so much !
Although, do you have any idea how this came up after 3 month good working?
I asked my provider and they didn’t do any updates of any kind.
I’d be interested to know!
|
|
|
10:19 am August 7, 2008
| Aaron
Admin
| | | |
|
| posts 164 |
|
|
It was always an error with the AWP module not a server issue. I’m not sure what started the problem, but other people had it to. The cache module has been a tack on my chair ever since I started it.
|
|