Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Admin class when installing with Composer. #51

Open
colourgarden opened this issue Sep 11, 2019 · 0 comments
Open

Missing Admin class when installing with Composer. #51

colourgarden opened this issue Sep 11, 2019 · 0 comments
Assignees

Comments

@colourgarden
Copy link

Version information

  • Plugin version : dev-master (via Composer)
  • PHP : 7.1.26
  • WordPress : 5.2.3
  • ACF version : 5.6.10
  • Polylang version : 2.3.10 (Polylang Pro)

Steps to reproduce

  1. composer require wpackagist-plugin/acf-options-for-polylang
  2. Activate plugin

Details

  • Error: Uncaught Error: Class 'BEA\ACF_Options_For_Polylang\Admin' not found
  • Shown because of missing classes/admin.php file when installing via Composer
  • During Composer installation, Wordpress.org authentication error given and plugin rather installed from dist (GitHub?)
Failed to download wpackagist-plugin/acf-options-for-polylang from source: Package could not be downloaded,
svn: E170013: Unable to connect to a repository at URL 'https://plugins.svn.wordpress.org/acf-options-for-polylang/trunk'
svn: E230001: Server SSL certificate verification failed: issuer is not trusted

Now trying to download from dist
  • If explicit version is given during install (composer require wpackagist-plugin/acf-options-for-polylang 1.1.7) then admin.php is installed and plugin works as expected
@herewithme herewithme self-assigned this May 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants