Comments (11)
This is likely caused by a security plugin that is blocking your WordPress REST API
from search-regex.
Yes, I saw that likely cause when the error presented first.
Search Regex was working (current version), and between when it worked and not,PHP was upgraded to v7.4.8 and IIRC Wordpress to v5.5. I am not aware of any security add-ins that would block the api.
I am prompted "Can you access your REST API without it redirecting? You will need to fix any errors." When I click the link, it appears to work, there is a huge formatted output and I do not know how to appraise it or whether it contains sensitive information (hence it is not attached).
Hope this helps John... Owen.
from search-regex.
Your REST API is publicly available, and I can access it myself. However, when the plugin tries to use it then it returns an error. The only thing that could do this is something running on your site. Caching may also affect things.
from search-regex.
Ok, yes I could see that it was accessible... though unsure it it had the complete contents required.
I disabled a few add-ins that I thought might in some way restrict access, but to no avail.
The Wordpress is served on Godaddy hosting, so maybe they have implemented some magic.
Pity it is not working, thanks for your effort John.
Owen
from search-regex.
What does your site health say? It will likely have the same problem
from search-regex.
The only issue with site health is:
The optional module, zip, is not installed, or has been disabled.
No other problems.
from search-regex.
This is the latest dump:
`Plugin: 2.3.2
WordPress: 5.5.1 (single)
PHP: 7.4.9 256M 30s
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36
JavaScript: https://owenduffy.net/blog/wp-content/plugins/search-regex/search-regex.js
REST API: https://owenduffy.net/blog/index.php?rest_route=/
Query: ?page=search-regex.php&searchphrase=asdf
Buster: 2.3.2 === 2.3.2
TypeError: Cannot read property 'rootUrl' of undefined
in ga
in div
in div
in Qa
in div
in Ka
in div
in i
in f
in Zi
in ba
in div
in ja
in tu
in div
in u
in Unknown
in f
in StrictMode
in Le
in Oc`
from search-regex.
Have you tried changing the REST API option? I just realised that you're not using the default one.
from search-regex.
I am using the default, and the other two options fail.
from search-regex.
I just put another update on to v2.3.3 and it now works without any changes at this end.
from search-regex.
Thanks John.
from search-regex.
Related Issues (20)
- Count of search results unexpectedly changes when regex flag set HOT 3
- Exporting regex searches to CSV fails HOT 3
- Search Regex Error HOT 1
- Search Regex Error HOT 1
- Search Regex Error
- Unable to perform case-sensitive regex search. HOT 1
- Search Regex Error with Multiline Gutenberg syntax HOT 1
- Replace Match with EMPTY Text HOT 3
- Delete Matches
- No action when trying to add categories
- Problem starting Search Regex 3.0.6
- Search Regex Query Error HOT 2
- Search Regex Error HOT 1
- Delete String between Begins AND Ends HOT 1
- Results page of docs is 404ing HOT 1
- redirect brakes plugin HOT 5
- Is there a hook for dynamic global replace text value?
- How to exclude Images? HOT 1
- Show the Post ID for the Post Meta results HOT 10
- I wonder if it accepts ^ and $ in regular expressions? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from search-regex.