WordPress.org

Ready to get started?Download WordPress

Forums

pagebar
[resolved] Missing argument 1 for postbar() (13 posts)

  1. andychin
    Member
    Posted 1 year ago #

    As topic title, someone please help.

    http://wordpress.org/extend/plugins/pagebar/

  2. andychin
    Member
    Posted 1 year ago #

    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 48

  3. fruityoaty
    Member
    Posted 1 year ago #

    I 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.

  4. gerobe
    Member
    Posted 1 year ago #

    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

  5. andychin
    Member
    Posted 1 year ago #

    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.

  6. lucascms
    Member
    Posted 1 year ago #

    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

  7. farhan2004
    Member
    Posted 1 year ago #

    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

  8. andychin
    Member
    Posted 1 year ago #

    Thank you farhan2004!

  9. gerobe
    Member
    Posted 1 year ago #

    This does not fix the problem for me. The "Missing argument" error is still there.

  10. Brownsugar
    Member
    Posted 1 year ago #

    I have the same question too

    so I change it to old version (2.59.1)......

    you can download old version here : http://wordpress.org/extend/plugins/pagebar/developers/

  11. Lutz Schröer
    Member
    Plugin Author

    Posted 1 year ago #

    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

  12. gerobe
    Member
    Posted 1 year ago #

    Thank you, Lutz!

    Everything is working now without error-messages.

  13. poco06
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.