WordPress.org

Ready to get started?Download WordPress

Forums

Instagram for WordPress
latest update gives fatal error (7 posts)

  1. simplepretty
    Member
    Posted 1 year ago #

    updated this morning, and cannot get plugin to work. my site doesn't show instagram pics + the widget is gone.

    triggers a fatal error/cannot redeclare admin_register_head() ....

    is anyone else having issues with the latest update?

    thank you.

    http://wordpress.org/extend/plugins/instagram-for-wordpress/

  2. macbaumi
    Member
    Posted 1 year ago #

    same problem.

  3. macbaumi
    Member
    Posted 1 year ago #

    I solved the problem.
    Looking at one of the plugins the code "function admin_register_head" and add code with characters, such as "function admin_register_head_a".

    Also code "add_action ('admin_head', 'admin_register_head_a');" complement with the same characters.

    Now the plugin can be activated without any problems.
    Thanks

  4. simplepretty
    Member
    Posted 1 year ago #

    latest update does not resolve the fatal error.

    @macbaumi, thank you for posting your solution .... however, i don't completely understand how to implement.

    can someone please respond with instructions? i'm not the sort of person who feels confident altering code w/o knowing what i'm doing.

    thank you.

  5. macbaumi
    Member
    Posted 1 year ago #

    I want to help, but my english is not good.

    For me the problem was the plugin "Instagram for WordPress" & "AppStore Links".
    You can open the file wpinstagram.php in Instagram plugin and search the string
    "function admin_register_head" &
    "add_action ('admin_head', 'admin_register_head');".
    I simply added a "_a" to both strings.

    "function admin_register_head_a" &
    "add_action ('admin_head', 'admin_register_head_a');"

    So it works for me again. No guarantee.
    thanks and regards

  6. simplepretty
    Member
    Posted 1 year ago #

    @macbaumi thank you so much. i followed your latest instructions + the plugin works.

    thank you for taking the time to help me.

  7. vio3pajaros
    Member
    Posted 1 year ago #

    I´ve tried it but nothing! Maybe i did something wrong but my files are not called that way you say.

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.