WordPress.org

Support

Support » Plugins and Hacks » GC Message Bar » [Resolved] fatal error in gc-message-bar-admin-renderer.php

[Resolved] fatal error in gc-message-bar-admin-renderer.php

  • Plugin could not be activated because it triggered a fatal error.

    Parse error: syntax error, unexpected ‘protected’ (T_PROTECTED) in C:\xampp\htdocs\wordpress\wp-content\plugins\gc-message-bar\src\class-gc-message-bar-admin-renderer.php on line 261

    wordpress multisite activated. Tried activating plugin via network admin, site admin and both after disabling all other plugins. The same error comes up.
    Thnx for suggestions.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author GetConversion

    @getconversion

    Thank you for the report!
    The issue is fixed with version 1.2.1.

    thanx. Have rated and reviewed your plugin. Good Luck.

    After opening and collapsing the gc-message box using the arrow below, a custom .js file(that makes my menubar stick to the top) stops functioning at that point. For eg. if the menu has stuck to the top, it doesnt release. And on an unscrolled page, it doesnt stick to the top. Can you check it out? Here is the link to the code:
    http://pastebin.com/hNXjeuzs

    `

    Plugin Author GetConversion

    @getconversion

    We are on it!

    Plugin Author GetConversion

    @getconversion

    Hi,
    Placing the script in the header.php in head section didnt work out. So, I tried this:
    1. Added the contents of script to stickyheadergcm.js
    2. Added this code
    http://pastebin.com/nDnppYKW
    to functions.php
    3. Added the css and body sections as you mentioned.

    Although there is no change in what I described before, there is a curious effect.
    If I let the default state of gcmbar to open, load the page and minimize the bar: the navigation bar gets stuck.
    If I then reload the page with the gcmbar in a closed position (no changes in default state) and then open the bar, the navigation bar is not affected. It shows expected sticky behaviour.
    Conclusion:
    It is just the collapsing of gcmbar and not the opening, that is causing this glitch.

    And one more thing: Default state closed, still loads the bar in an open position.

    I used mozilla for admin login and chrome/mozilla to test the front end.

    I think something happens when the arrow jumps out (after collapsing the gcmbar) that disturbs the javascript (?) loaded for the sticky navigation bar. (Sorry, I am not a programmer, just a super user :))

    Plugin Author GetConversion

    @getconversion

    Thank you for your report!
    Some modifications come with the version 1.2.2 that works together with the sticky script (released at GetConversion Forum).
    Custom sticky header together with GC Message Bar
    Please try again.
    Don’t worry draco678 we are here to help 🙂

    Bravo!!!A genuine breakthrough!!
    It works Perfect!
    Great support! Thanks a lot!!

    Plugin Author GetConversion

    @getconversion

    You are welcome!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Resolved] fatal error in gc-message-bar-admin-renderer.php’ is closed to new replies.
Skip to toolbar