• Resolved kierrapalmer

    (@kierrapalmer)


    I updated this plugin from version 4.1.2 to 4.3. Everything worked when I updated it through the WordPress CMS on localhost so I committed the changes to my git repository and pulled the changes into my staging environment.

    On staging, I received these errors when I try to go to the site

    Warning: require({site_path}/wp-content/plugins/duplicate-post/vendor/composer/platform_check.php): failed to open stream: No such file or directory in {site_path}/wp-content/plugins/duplicate-post/vendor/composer/autoload_real.php on line 25
    
    Fatal error: require(): Failed opening required '{site_path}/wp-content/plugins/duplicate-post/vendor/composer/platform_check.php' (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') in {site_path}/wp-content/plugins/duplicate-post/vendor/composer/autoload_real.php on line 25

    There are no differences in my local and staging environments
    PHP 7.4
    WordPress 5.8.3

    **Edit to fix version numbers

    • This topic was modified 3 years, 1 month ago by kierrapalmer.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Michael Ti?a

    (@mikes41720)

    Hi,

    Just to clarify, you updated the Yoast Duplicate Post plugin from 4.1.2 to 4.3 on your localhost via the WordPress CMS dashboard, correct?

    And you then updated the plugin via Composer on your staging site, and it resulted in those warnings and errors?

    Thread Starter kierrapalmer

    (@kierrapalmer)

    Yes, I updated Yoast Duplicate Post on localhost via CMS dashboard on localhost.

    I then pulled the plugin code changes from a git repository into my staging site.

    Thread Starter kierrapalmer

    (@kierrapalmer)

    I have figured out the issue with this.
    We had the folder vendor/ in our gitignore file which was ignoring all changes to any vendor folders in any plugin. This issue has been resolved.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Update 4.3 Composer Bug’ is closed to new replies.