After installing the plugin, this message keeps on popping up in the error logs, when running a wp-cli
command or when making any API call (it gets added to the doingitwrong header).
Notice: Function register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>ada-plugin/v1/pagecsv</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://www.ads-software.com/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /var/www/html/wp-includes/functions.php on line 5831
The fix is pretty simple
in /wp-content/plugins/online-accessibility/includes/rest_routes/csv-routes.php
function csv_page_download()
{
register_rest_route('ada-plugin/v1', '/pagecsv', array(
'methods' => 'GET',
'callback' => __NAMESPACE__ . '\\page_csv'
));
}
should be replaced with
function csv_page_download()
{
register_rest_route('ada-plugin/v1', '/pagecsv', array(
'methods' => 'GET',
'callback' => __NAMESPACE__ . '\\page_csv',
'permission_callback' => function () {
return current_user_can( 'manage_options' );
}
));
}
]]>
The audit has run into a problem. Please check the console for more information
Here is the error from the console.
to load resource: net::ERR_CONNECTION_TIMED_OUT
DevTools failed to load source map: Could not load content for https://bihbank.com/wp-content/plugins/online-accessibility/admin/assets/css/bootstrap-grid.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
The SSL certificate for the scan URL used by the plugin is expired and needs to be renewed. The scans do not work otherwise.
]]>Is this plugin not compatible with PHP 8.0? It runs fine with 7.4 but I get the following when updating to 8.0:
[2022-08-25T16:51:44.907615+00:00] PHP Fatal error: Uncaught Error: Failed opening required '/nas/content/live/xxxx/wp-content/plugins/accessibility-toolbar/vendor/symfony/polyfill-ctype/bootstrap80.php'
I have run a scan and got an email saying the report was completed.
I went to the plugin page and had this message “Please wait while we retreive your results”. However, it is still spinning an hour later.
Plus, I cannot download the csv.
I can view the color blindness report though which is very interesting.
Thanks
Andrew
]]>In the CSV audit report download, is there a way you could add the line number from the code where the issue cited resides? It would help my developer find and fix issues easier and faster.
]]>I have installed this plugin on a site we are working on releasing to re-vamp the sites for the organization I work for. When I run it on the internal-only site (don’t want people coming across it while it’s still under construction) I get a timeout error and ultimately 0 pages are scanned.
I suspect the plugin relies on an external service to do the scan and analysis so I installed it on one of our public-facing websites and ran the tool there. This time around it did not time out, but it still scanned 0 pages.
I know from the Getting Started that the free version only scans the home page, but it doesn’t seem to even be doing that. Is there something I a missing?
]]>The free version, once installed, and once the first scan is started, says that the scan will take “< 1 minute”. However, after a few hours, I’m still unable to view the scan report of the homepage. I cannot find any posts in this forum and no information on your website regarding how to proceed. Could you give me a hand in figuring out what to do next. I’m on WP 4.1.28…the plugin directory said that your version is compatible with this version.
]]>When I finish a scan, the Tab to view the report appears for 1 second, then disappears, and the webdev console (Chrome, Safari) shows a JS error :
[Vue warn]: Error in render: "TypeError: Cannot read property 'tab1' of undefined"
(found in <Root>)
scan-reports-scripts-bundle.js?ver=2.1:5860 TypeError: Cannot read property 'tab1' of undefined
at Proxy.eval (eval at createFunction (scan-reports-scripts-bundle.js?ver=2.1:15560), <anonymous>:3:2945)
at Vue._render (scan-reports-scripts-bundle.js?ver=2.1:7502)
at Vue.updateComponent (scan-reports-scripts-bundle.js?ver=2.1:8006)
at Watcher.get (scan-reports-scripts-bundle.js?ver=2.1:8407)
at new Watcher (scan-reports-scripts-bundle.js?ver=2.1:8396)
at mountComponent (scan-reports-scripts-bundle.js?ver=2.1:8013)
at Vue.$mount (scan-reports-scripts-bundle.js?ver=2.1:12970)
at Vue.$mount (scan-reports-scripts-bundle.js?ver=2.1:15855)
at Vue._init (scan-reports-scripts-bundle.js?ver=2.1:8941)
at new Vue (scan-reports-scripts-bundle.js?ver=2.1:9007)
logError @ scan-reports-scripts-bundle.js?ver=2.1:5860
globalHandleError @ scan-reports-scripts-bundle.js?ver=2.1:5851
handleError @ scan-reports-scripts-bundle.js?ver=2.1:5812
Vue._render @ scan-reports-scripts-bundle.js?ver=2.1:7504
updateComponent @ scan-reports-scripts-bundle.js?ver=2.1:8006
get @ scan-reports-scripts-bundle.js?ver=2.1:8407
Watcher @ scan-reports-scripts-bundle.js?ver=2.1:8396
mountComponent @ scan-reports-scripts-bundle.js?ver=2.1:8013
Vue.$mount @ scan-reports-scripts-bundle.js?ver=2.1:12970
Vue.$mount @ scan-reports-scripts-bundle.js?ver=2.1:15855
Vue._init @ scan-reports-scripts-bundle.js?ver=2.1:8941
Vue @ scan-reports-scripts-bundle.js?ver=2.1:9007
instance @ scan-reports-scripts-bundle.js?ver=2.1:145
create_report @ scan-reports-scripts-bundle.js?ver=2.1:749
success @ scan-reports-scripts-bundle.js?ver=2.1:428
i @ jquery.js?ver=1.12.4:2
fireWith @ jquery.js?ver=1.12.4:2
y @ jquery.js?ver=1.12.4:4
c @ jquery.js?ver=1.12.4:4
XMLHttpRequest.send (async)
send @ jquery.js?ver=1.12.4:4
ajax @ jquery.js?ver=1.12.4:4
n.(anonymous function) @ jquery.js?ver=1.12.4:4
get_scan_results @ scan-reports-scripts-bundle.js?ver=2.1:400
(anonymous) @ scan-reports-scripts-bundle.js?ver=2.1:397
i @ jquery.js?ver=1.12.4:2
fireWith @ jquery.js?ver=1.12.4:2
ready @ jquery.js?ver=1.12.4:2
K @ jquery.js?ver=1.12.4:2
scan-reports-scripts-bundle.js?ver=2.1:1234 Uncaught TypeError: Cannot read property 'addEventListener' of undefined
at scan-reports-scripts-bundle.js?ver=2.1:1234
at Array.forEach (<anonymous>)
at Tooltip._setEventListeners (scan-reports-scripts-bundle.js?ver=2.1:1225)
at new Tooltip (scan-reports-scripts-bundle.js?ver=2.1:971)
at create_report (scan-reports-scripts-bundle.js?ver=2.1:751)
at Object.success (scan-reports-scripts-bundle.js?ver=2.1:428)
at i (jquery.js?ver=1.12.4:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
at y (jquery.js?ver=1.12.4:4)
at XMLHttpRequest.c (jquery.js?ver=1.12.4:4)
]]>
Does this plugin differ from the one here? https://adaplugin.com/purchase/
]]>