• Resolved amberkhatch

    (@amberkhatch)


    Hello, please help me!

    I’ve been working on my site https://www.babyledpottytraining.co.uk

    I was trying to work out how to create a child theme. I couldn’t see how to add it to the directory (or even where the directory is) so I tried to use a plugin, but I couldn’t understand how to install it. I thought I could install it by editing it in the space for another plug in – so I cut the code for ‘hello dolly’ and pasted the child theme plug in. Then, shortly afterwards, anything I tried to click led to a screen with this message:

    Warning: require_once(/www/sites/d13/91a/www.babyledpottytraining.co.uk/web/wp-content/plugins/plugins/includes/plugin.php) [function.require-once]: failed to open stream: No such file or directory in /www/sites/d13/91a/www.babyledpottytraining.co.uk/web/wp-content/plugins/hello.php on line 19

    Fatal error: require_once() [function.require]: Failed opening required ‘/www/sites/d13/91a/www.babyledpottytraining.co.uk/web/wp-content/plugins/plugins/includes/plugin.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /www/sites/d13/91a/www.babyledpottytraining.co.uk/web/wp-content/plugins/hello.php on line 19

    I can’t view my site, nor can I log in. Please help me retrieve it! Also it would be great to get a pointer how to correctly install a child theme.

    Amber

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator t-p

    (@t-p)

    try renaming / deleting “hello.php”:

    /wp-content/plugins/hello.phpHOLD

    Thread Starter amberkhatch

    (@amberkhatch)

    Thanks Tara for your quick reply.

    I typed in

    https://www.babyledpottytraining.co.uk/wp-content/plugins/hello.phpHOLD

    and had this message:

    Not Found

    The requested URL /wp-content/plugins/hello.phpHOLD was not found on this server.

    Is that what you meant? Should I be trying to re-install wordpress via my host?

    Moderator t-p

    (@t-p)

    Have you tried:
    – deactivating ALL plugins temporarily to see if this resolves the problem. If this works, re-activate them individually (one-by-one) to find the problematic plugin(s). If you can’t get into your admin dashboard, try deactivating via FTP or SFTP or whatever file management application your host provides. If applicable, also remember to deactivate any plugins in the mu-plugins folder. The easiest way is to rename that folder to mu-plugins-old.
    – switching to the unedited default, core-bundled Theme for a moment using the WP dashboard to rule out any theme-specific issue. If you don’t have access to your admin area, you can switch to the default theme by renaming your current theme’s folder in wp-content/themes and adding “-old” to the end of the folder name using via FTP or SFTP or whatever file management application your host provides. Alternately, you can remove other themes except the default theme. That will force your site to use it.
    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems (because the hooks remain unless plugins completely removed or some plugins stick around in cached files. So by renaming the folder, you break them and force them inactive).
    – If the above troubleshooting steps fail to resolve the issue, try manually re-uploading all files and folders EXCEPT the wp-config.php file and the /wp-content/ directory from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones. Read the Manual Update directions first!
    BTW, always backup everything (including your database) before doing any actions, just in case.

    Thread Starter amberkhatch

    (@amberkhatch)

    Thanks so much for the detailed response. I can’t get into my admin dashboard, so I will try the FTP route. I’m not sure how to do this, but I think I’d better have a try/ call my host in the morning, and take it from there – otherwise you will be here all night explaining things to me.
    I’ll come back to this as soon as I get somewhere / come up against a wall.
    Thanks so far!
    Amber

    Thread Starter amberkhatch

    (@amberkhatch)

    Ok, just managed to work out how to install cyberduck and use FTP.
    I accessed the files and located the dodgy plugin. Can I just delete it? I’m not sure how to deactivate it from here.

    Thread Starter amberkhatch

    (@amberkhatch)

    I tried it anyway (I deleted the plugin file) and …

    …It worked! Eveything came back.

    Thank you thank you thank you!

    Moderator t-p

    (@t-p)

    You are welcome ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Warning and fatal error – can't access site’ is closed to new replies.