WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Fatal error: Cannot unset string offsets (14 posts)

  1. Naveeddil
    Member
    Posted 5 years ago #

    I have searched alot but didnt find anything on this error Both through GOOGLE and HERE.
    Can anybody help please

    Installing Plugin: Broken Link Checker 0.4.10
    
    Fatal error: Cannot unset string offsets in /home/imscienc/public_html/wp-admin/includes/file.php on line 676

    When i Try to install any Plugin on my new site i get the above error

    Please Help

  2. Naveeddil
    Member
    Posted 5 years ago #

    Dears.
    the fili.php Line No. 676 is having below Coding

    unset($credentials['port']);

  3. s_ha_dum
    Member
    Posted 5 years ago #

    I'm pretty sure that error means that $credentials is a string, not an array. Before trying to beat the code into submission...

    What WP version are you using?

    Is 'Broken Link Checker 0.4.10' supposed to be compatible with that version?

  4. Naveeddil
    Member
    Posted 5 years ago #

    Dear,
    Broken Link Checker Plugin is Active and there is No Broken Link on site.
    Plus
    I'm using "You are using WordPress 2.7.1"

    I'm new so please Someone Help

  5. s_ha_dum
    Member
    Posted 5 years ago #

    Broken Link Checker is active? Deactivate it. Will other plugins install then?

  6. Naveeddil
    Member
    Posted 5 years ago #

    i even delete the broken link checker plugin but still
    not working

  7. s_ha_dum
    Member
    Posted 5 years ago #

    Since you've deleted Broken Link Checker, you shouldn't be getting an error message that mentions Broken Link Checker. How does the error read now?

    Also, is this a brand new install or did you upgrade from a previous version of WP?

  8. bobtongue
    Member
    Posted 5 years ago #

    I am getting the same error after upgrading to the latest version of WP. I do not install many plugins so I couldn't say for sure if the upgrade broke it. I just know that I get the error now. I can still install plugins manually, but not automatically. Any help is appreciated.

    error message:
    Fatal error: Cannot unset string offsets in /var/www/wrestling/htdocs/wordpress/wp-admin/includes/file.php on line 676.

  9. bobtongue
    Member
    Posted 5 years ago #

    More info:

    When I checked my plugin directory I noticed that there was an upgrade for wp-stats. When I tried to automatically upgrade the plugin I received this message:

    Fatal error: Cannot unset string offsets in /var/www/wrestling/htdocs/wordpress/wp-admin/includes/file.php on line 676

    When I upgraded WP, I deactivated all of my plugins first, then upgraded and reactivated the plugins. The line from file.php is as follows:

    unset($credentials['port']);

    Any help is appreciated.

    Bob

  10. bobtongue
    Member
    Posted 5 years ago #

    I found the solution:
    http://wordpress.org/support/topic/224067?replies=9

    This solution worked for me.

  11. Naveeddil
    Member
    Posted 5 years ago #

    Thanks dear bob!

    Here is Solution Copying from above

    Open your PHPmyAdmin and select your Database of WP
    Go to "wp_options" table
    Find "ftp_credentials"
    and Clear/ Dalete the Value

    It will Work Fine :)

    Better Luck

  12. Lizbit
    Member
    Posted 5 years ago #

    My problem started out when I tried re-directing the index.php from the /wp folder to the root.

    I did not disable the NextGen gallery first.

    I got everything working - except the NextGen gallery. When I'd click on an album in my site, it wouldn't be found.

    NO biggie - I figured I'd just uninstall, then re-install the NextGen plug-in and try again.

    Got the error Fatal error: cannot unset string offsets in /home/yada yada /file.php on line 676

    SO I deleted the plug-in folder from the server, then tried re=installing it through WP, and the same error comes up.

    I have no idea what a PHPmyAmin is (from the instructions above), nor do I know where the Database of WP is, or the wp_options table...

    any advice, please?
    Thank you!

  13. okucukkurt
    Member
    Posted 5 years ago #

    hello friends :)

    I am the new wordpress ,
    and I have problems, please help me olurmusunuz_?

    I want to add a new plugin is made mistakes ,

    Fatal error: Cannot unset string offsets in /home/denizkiz/public_html/wp-admin/includes/file.php on line 676

    How can I do:(

  14. sebfoto
    Member
    Posted 4 years ago #

    Naveeddil: you were right, thanks!

    okucukkurt: follow Naveeddil guidance

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.