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

Enable Object Cache Pro for WordPress Doc Update #8809

Closed
RayHollister opened this issue Dec 21, 2023 · 0 comments · Fixed by #9159
Closed

Enable Object Cache Pro for WordPress Doc Update #8809

RayHollister opened this issue Dec 21, 2023 · 0 comments · Fixed by #9159
Assignees
Labels
Topic: WordPress WordPress-specific Type: Quick Fix Issues that should be resolvable in a small PR

Comments

@RayHollister
Copy link

Re: Enable Object Cache Pro for WordPress

Priority: High (choose one, remove the other options)

Issue Description:

Running lando composer require rhubarbgroup/object-cache-pro returns:

  [RuntimeException]                                                                  
  The `url` supplied for the path (upstream-configuration) repository does not exist  

Suggested Resolution

The documentation in part 6 of Installation and Configuration for Composer-Managed WordPress Sites is confusing, making it seem like all of the examples are required.

Change documentation from this:

Add the Object Cache Pro repository to your composer.json file's repositories section. Your final repositories section should look something like this:

repositories: [
		{
			"type": "composer",
			"url": "https://objectcache.pro/repo/"
		},
		{
			"type": "composer",
			"url": "https://wpackagist.org",
			"only": [
				"wpackagist-plugin/*",
				"wpackagist-theme/*"
			]
		},
		{
			"type": "path",
			"url": "upstream-configuration"
		}
	],

to this:

Add the Object Cache Pro repository to your composer.json file's repositories section.

repositories: [
    {
      "type": "composer",
      "url": "https://objectcache.pro/repo/"
    }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Topic: WordPress WordPress-specific Type: Quick Fix Issues that should be resolvable in a small PR
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants