documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Enable Object Cache Pro for WordPress Doc Update

Open RayHollister opened this issue 1 year ago • 0 comments

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/"
    }
]

RayHollister avatar Dec 21 '23 17:12 RayHollister