jeroenj
Forum Replies Created
-
Here you can find the reproduction.
Got the same issue for quite a while now:
When will this be fixed? Console logs:
jquery-migrate.min.js?ver=3.4.1:2 JQMIGRATE: Migrate is installed, version 3.4.1
API.js:30 PUT https://evilgamerz.com/wp-json/wp-dark-mode/settings 405
(anonymous) @ xhr.js:258
xhr @ xhr.js:49
R5 @ dispatchRequest.js:49
_request @ Axios.js:170
request @ Axios.js:40
(anonymous) @ Axios.js:209
(anonymous) @ bind.js:5
put @ API.js:30
k @ store.js:198
(anonymous) @ pinia.mjs:1375
as @ runtime-core.esm-bundler.js:158
G1 @ runtime-core.esm-bundler.js:166
n @ runtime-dom.esm-bundler.js:278
Show 11 more frames
runtime-core.esm-bundler.js:226 st?{message: 'Request failed with status code 405', name: 'AxiosError', code: 'ERR_BAD_REQUEST', config: {…}, request: XMLHttpRequest,?…}code: "ERR_BAD_REQUEST"config: {transitional: {…}, adapter: Array(2), transformRequest: Array(1), transformResponse: Array(1), timeout: 0,?…}message: "Request failed with status code 405"name: "AxiosError"request: XMLHttpRequest?{onreadystatechange: null, readyState: 4, timeout: 0, withCredentials: false, upload: XMLHttpRequestUpload,?…}response: {data: '… is not allowed for this URL.\n\n', status: 405, statusText: '', headers: w2, config: {…},?…}stack: "AxiosError: Request failed with status code 405\n at bp (https://evilgamerz.com/wp-content/plugins/wp-dark-mode/assets/js/admin.min.js?ver=5.0.6:114:1045)\n at XMLHttpRequest.b (https://evilgamerz.com/wp-content/plugins/wp-dark-mode/assets/js/admin.min.js?ver=5.0.6:114:4244)\n at y2.request (https://evilgamerz.com/wp-content/plugins/wp-dark-mode/assets/js/admin.min.js?ver=5.0.6:116:3114)\n at async Object.put (https://evilgamerz.com/wp-content/plugins/wp-dark-mode/assets/js/admin.min.js?ver=5.0.6:117:5022)\n at async Proxy.k (https://evilgamerz.com/wp-content/plugins/wp-dark-mode/assets/js/admin.min.js?ver=5.0.6:117:6637)"[[Prototype]]: Error
$d @ runtime-core.esm-bundler.js:226
Wr @ runtime-core.esm-bundler.js:208
(anonymous) @ runtime-core.esm-bundler.js:169
Promise.catch (async)
G1 @ runtime-core.esm-bundler.js:168
n @ runtime-dom.esm-bundler.js:278
Show 5 more framesI don’t know why my post got deleted but I have the same issue. It’s not related to overruling CSS. After a F5 it’s solved. I agree this should be looked at and adjusted with the option of a refresh by clicking on the dark mode button.
It’s I think depending on the theme you have, but I added:
`/* CSS for Evilgamerz.com */
.wp-dark-mode-active body {
background: #242525;
}.wp-dark-mode-active #nav_menu-3, .wp-dark-mode-active #page {
background: #242525;
}After last update it’s working again!
I had the same in a template of mine and it was due to a preloader which still had a white background. I modified the CSS for it to be black when in dark mode and then it worked… Maybe you have the same issue. What you can try is remove all white backgrounds and then see if it disappears, and then check one by one which background it’s causing.
I can just reproduce it by uninstalling the plugin and re-installing it, so I guess it’s really simple to reproduce…
In MYSQL the following is configured in the wp_config table for wp_dark_mode_switch:
a:20:{s:13:"show_switcher";s:2:"on";s:12:"switch_style";s:1:"2";s:17:"switcher_position";s:12:"right_bottom";s:11:"switch_side";s:12:"right_bottom";s:14:"bottom_spacing";s:2:"10";s:12:"side_spacing";s:2:"10";s:16:"attention_effect";s:4:"none";s:10:"enable_cta";s:3:"off";s:8:"cta_text";s:0:"";s:14:"cta_text_color";s:0:"";s:12:"cta_bg_color";s:0:"";s:18:"enable_menu_switch";s:3:"off";s:18:"custom_switch_icon";s:3:"off";s:17:"switch_icon_light";s:0:"";s:16:"switch_icon_dark";s:0:"";s:18:"custom_switch_text";s:3:"off";s:17:"switch_text_light";s:5:"Light";s:16:"switch_text_dark";s:4:"Dark";s:15:"show_above_post";s:3:"off";s:15:"show_above_page";s:3:"off";}
- This reply was modified 3 years, 7 months ago by jeroenj.
Hi, thanks for your response.
I enabled the third button on: https://185.231.202.54/~egwp/
But it is showing the first button though. When selecting the second button, it works perfect (the others are pro-version so I can not test).On evilgamerz.com I enabled the second one as a workaround now. I tried overwriting all old CSS files with the previous plugin version, but that didn’t work either.
Thank you. I worked around it already to make it work. The thread can be closed ??
Forum: Themes and Templates
In reply to: [Color Blog] Search console error with breadcrumbsThe changelog of the recent 1.0.9 and 1.1.0 have not been updated. I also have this error but I have a lot of customizations and I want google to have this fixed regarding these breadcrumbs. Could you let us know which line(s) need to be modified (or which file) to fix this search engine issue? It would really help cause it’s not possible to compare all the lines with all my modifications ?? If I know which file to modify then I can compare that file with the new color blog file. Thanks!
Update: I see one little change in mt-class-breadcrumbs.php. Is that the file which needs to be updated?
Forum: Plugins
In reply to: [Yoast SEO] Latest Update Causes Server OverloadI have the same issue. Admin dashboard and plugin section load for 20 seconds. Disabling Yoast solves it. Frontend functions properlh. Chrome reports on the same query as mentioned in start post.
- This reply was modified 4 years, 5 months ago by jeroenj.