HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

[Vanilla 2.1] Fatal Error : Call to undefined method Gdn_Configuration::RemoveFromConfig()*

AnonymooseAnonymoose ✭✭
edited April 2013 in Feedback

Fatal error: Call to undefined method Gdn_Configuration::RemoveFromConfig() in /.................../Share42/class.share42.plugin.php on line 78

after editing settings in config.

Comments

  • Also getting this?

    What do you do in the end Anonymoose? Just not use this plugin?

  • Aha just looked... this is not for 2.0

    2.1 version only due to changes to class.configuration.php in core

    Not sure how to make it work for 2.0.x

  • lifeisfoolifeisfoo ✭✭✭

    RemoveFromConfig is a function that can be called directly, since is in the functions.general.php file.
    Try editing the class.share42.plugin.php files and changing every Gdn::Config()->RemoveFromConfig(...) to RemoveFromConfig(...).
    Change also every Gdn::Config()->SaveToConfig(...) to SaveToConfig(...) (the reason is the same as above).

    Take a look here https://github.com/vanillaforums/Garden/blob/2.1/library/core/functions.general.php

    There was an error rendering this rich post.

  • AnonymooseAnonymoose ✭✭
    edited April 2013

    @johnnyzen said:
    Also getting this?

    What do you do in the end Anonymoose? Just not use this plugin?

    Yes. Just ended up not using it.

Sign In or Register to comment.