[Plugin: pagebar] Missing argument 1 for postbar()
-
As topic title, someone please help.
-
Pagebar 2 Version 2.60
Full error call message:
Warning: Missing argument 1 for postbar(), called in /home/andychin/domains/andychin.com/public_html/acs/wp-content/themes/acs/index.php on line 26 and defined in /home/andychin/domains/andychin.com/public_html/acs/wp-content/plugins/pagebar/pagebar2.php on line 48I updated from v2.59.1 to v2.60 today and got a similar error to the one the above previous commenter reported:
Warning: Missing argument 1 for postbar(), called in /home/fruity/public_html/wp-content/themes/k2/index.php on line 19 and defined in /home/fruity/public_html/wp-content/plugins/pagebar/pagebar2.php on line 48
Note: I insert the pagebar with manual PHP code inserted into my index.php (worked flawlessly, no problems before I updated to v.2.60).
Please, help. Thank you.
Same here!
Additionally I get the message
Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent
when trying to update the plugin options with the new version 2.6
So I am not alone.
This only happened when I updated the version to V2.60 too!
Same as fruityoaty, pagebar is being insert manual to index.php.I’m also having the same problem. Has anyone got a solution?
Warning: Missing argument 1 for wp_pagebar(), called in /home/fpsgames/www/wp-content/themes/10/html/index.php on line 220 and defined in /home/fpsgames/www/wp-content/plugins/pagebar/pagebar2.php on line 65
I fixed this error temporary
1. open file pagebar2.php which is located in wp-content/plugins/pagebar
2. search for
function postbar($query) {3. replace with
function postbar() {4. save the file
Hope developer fix this error ASAP
Regards, Fadi
Thank you farhan2004!
This does not fix the problem for me. The “Missing argument” error is still there.
I have the same question too
so I change it to old version (2.59.1)……
you can download old version here : http://ww.wp.xz.cn/extend/plugins/pagebar/developers/
Thank you all for your bug report. I was so focussed on the “automagic insertion” that I did not check if the manual way will work as well.
This should be fixed now (hopefully, Murphy is looking round the corner). If you do not use the automagic feature and do not want to use the actions there is no need to update (except that WordPress is nagging you to do so).
I would like to apologize for any inconveniences!
Latz
Thank you, Lutz!
Everything is working now without error-messages.
Hello,
I’m using the pagebar2 2.60.1 and still have this warning in my admin panel :
Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent
Is there something new to do?
Many thanks
The topic ‘[Plugin: pagebar] Missing argument 1 for postbar()’ is closed to new replies.