Troubleshooting
Start with the Log, filtered on Errors: every request to a forge is there, with its status and message.
Nothing is read
The projects stay Being read, or the sources' Last reading says Never.
- The reading runs in WordPress's scheduled tasks. wp-cron only runs when someone visits the site: on a quiet site, add a real cron (see Developers).
DISABLE_WP_CRONis set inwp-config.phpwithout a real cron to replace it.- The source is Paused (Sources table): edit it and untick Pause.
- Reading of the repository lists is 0 in Settings: only webhooks and Read again read then.
A source shows an error
| Error, status | Cause | What to do |
|---|---|---|
404 |
wrong address, or the organisation is private | open the address in a private browser window |
401 |
the token is wrong or expired | replace or remove it |
403 with a quota at 0 |
the forge's quota is used up | wait: the reading resumes at the time shown; add a token |
| timeout, could not resolve host | the server cannot reach the forge | check the server's outgoing connections and firewall |
5xx |
the forge has a problem | nothing: the next reading retries |
GitHub is slow to read everything
Without a token, GitHub allows 60 requests an hour, and a project takes about five. A first reading of a large organisation takes hours; the projects appear at once and fill in. Add a token (see Sources).
A project is missing
- Private, fork or archived: forks and archived repositories need Include forks or Include archived repositories in the source; private ones are never shown.
- Hidden: its Visible switch is off.
- In a block: the index or the activity block shows only some categories or projects; check its settings.
The download button is missing
- The project has no release: it says Work in progress: no release yet.
- The release is a draft: drafts are never read.
- The latest release has no zip attached: the source archive made by the forge is offered; if even that is missing, there is no button.
The image does not appear
- The banner must be named
banner,banner-772x250orbanner-1544x500, in.png,.jpg,.jpegor.webp, at the root, in.wordpress-org/or inassets/. SVG is not imported. - The image is looked for when the repository changes. After adding it, use Read again on the project.
- An image chosen in the project's window wins over the banner, and the banner over the featured image of the presentation page.
- The featured image of the page is used only once the page is chosen as the project's Presentation page.
The title of a card leads to the forge
The project has no presentation page, or its page is not published yet: choose the page in the project's window, and publish it.
The webhook does nothing
- The forge's delivery log shows the answer:
401is a wrong secret (generate a new one and paste it in the forge),404an unknown source or a webhook turned off. - Content type must be
application/json. - A push only counts on the default branch.
- The reading itself runs in scheduled tasks: see Nothing is read.
A page shows an old version
The blocks read the site's database at each view, so a cached page shows what it held when it was cached. Pluginception empties the cache of the pages that show a project as soon as a reading brings a change (see Developers); the Log names the pages emptied. If a page still shows an old version:
- the reading has not happened yet: see the source's last reading, or set up the webhook for an immediate one;
- the page is built from a theme template, or its cache is not one of the plugins the plugin knows: empty it by hand, or hook the action;
- a cache in front of the site (a CDN, a server cache) keeps its own copy: hook the action, or give these pages a short cache time.