angelxmoreno / angelxmoreno/WPRestClient

Fatal error: Uncaught Error: Call to a member function fetch() on string in

Open
#23 2 comments 0 reactions 1 assignee View on GitHub

@angelxmoreno is already working on this.

Since Jun 21, 2023.

Investigating
Dominant language
PHP
Stars
5
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Hi
We have just followed this quick start:
https://wprestclient.readthedocs.io/en/latest/quickstart/
but got this error:
Fatal error: Uncaught Error: Call to a member function fetch() on string in /home/app/public/rest-api/rest-api.php:31 Stack trace: #0 {main} thrown in /home/app/public/rest-api/rest-api.php on line 31
Is this quick start is working fine now.
We are using PHP version 8.0.22
Thanks so much!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.