• Resolved haridhanani9

    (@haridhanani9)


    So I had Yoast installed from a couple of days ago. Recently WP started giving me an error with anything I tried to do, see below. So after back up I deleted the plugin wordpress-seo folder from FTP server and got access back without errors.

    Warning: include(G:\PleskVhosts\galtrx.com\staging.saferpainmanagement.com\wp-content\plugins\wordpress-seo\vendor\composer/../../admin/capabilities/class-register-capabilities.php): failed to open stream: No such file or directory in G:\PleskVhosts\galtrx.com\staging.saferpainmanagement.com\wp-content\plugins\wordpress-seo\vendor\composer\ClassLoader.php on line 444
    
    Warning: include(): Failed opening 'G:\PleskVhosts\galtrx.com\staging.saferpainmanagement.com\wp-content\plugins\wordpress-seo\vendor\composer/../../admin/capabilities/class-register-capabilities.php' for inclusion (include_path='.;.\includes;.\pear') in G:\PleskVhosts\galtrx.com\staging.saferpainmanagement.com\wp-content\plugins\wordpress-seo\vendor\composer\ClassLoader.php on line 444
    
    Fatal error: Uncaught Error: Class 'WPSEO_Register_Capabilities' not found in G:\PleskVhosts\galtrx.com\staging.saferpainmanagement.com\wp-content\plugins\wordpress-seo\wp-seo-main.php:478 Stack trace: #0 G:\PleskVhosts\galtrx.com\staging.saferpainmanagement.com\wp-content\plugins\wordpress-seo\wp-seo.php(50): require_once() #1 G:\PleskVhosts\galtrx.com\staging.saferpainmanagement.com\wp-settings.php(377): include_once('G:\\PleskVhosts\\...') #2 G:\PleskVhosts\galtrx.com\staging.saferpainmanagement.com\wp-config.php(90): require_once('G:\\PleskVhosts\\...') #3 G:\PleskVhosts\galtrx.com\staging.saferpainmanagement.com\wp-load.php(37): require_once('G:\\PleskVhosts\\...') #4 G:\PleskVhosts\galtrx.com\staging.saferpainmanagement.com\wp-login.php(12): require('G:\\PleskVhosts\\...') #5 {main} thrown in G:\PleskVhosts\galtrx.com\staging.saferpainmanagement.com\wp-content\plugins\wordpress-seo\wp-seo-main.php on line 478
    There has been a critical error on your website. Please check your site admin email inbox for instructions.
    
    Learn more about debugging in WordPress.

    Now When attempting to Instal YoastSEO plug-in I get this error:

    Installation failed: Could not copy file. G:/PleskVhosts/galtrx.com/staging.saferpainmanagement.com/wp-content/plugins/wordpress-seo/admin/views/tabs/metas/post-types.php

    I’ve updated wp-config.php to incr file upload to 256MB.
    Created php.ini with:

    upload_max_filesize = 64M
    post_max_size = 64M
    max_execution_time = 300

    added this to .user.ini

    upload_max_filesize = 50M
    post_max_size = 50

    created .htaccess with

    # BEGIN LSCACHE
    # END LSCACHE
    # BEGIN NON_LSCACHE
    # END NON_LSCACHE
    php_value upload_max_filesize 128M
    php_value post_max_size 128M
    php_value max_execution_time 300
    php_value max_input_time 300

    When looking at the media upload file limit, it’s 50mb.

    Thank you all for your time and efforts to help me solve this! Appreciate any feedback!

Viewing 4 replies - 1 through 4 (of 4 total)
  • We are sorry to hear that you are having trouble with our plugin. The error you are now seeing during the plugin installation is specific to the permission of your WordPress installation. WordPress couldn’t copy a file in the correct location.

    So, you can manually install the plugin using FTP. You can find the relevant guide here. https://yoast.com/help/how-can-i-update-my-premium-plugin/#ftp

    Thread Starter haridhanani9

    (@haridhanani9)

    Hey Md Mazedul Islam Khan (@mazedulislamkhan),

    Thank you for your quick response, truly appreciate your help! I tried that the first time and got the initial issue after about a week. I can try it again, but feel it will only lead to the same result. Please advise.

    I downloaded directly from Yoast’s website and unzipped and transferred without any errors.

    -HD

    • This reply was modified 5 years, 5 months ago by haridhanani9.

    If you have transferred all the files without seeing errors, you shall no longer see an error anymore.

    Let us know once you reinstall the plugin and see whether this resolves the issue for you.

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Errors when Installed and when installing PLEASE HELP!’ is closed to new replies.