mechanicman
Forum Replies Created
-
Got it! Seemed to be an issue with the IP Geo Block Plugin
I had the same problem. After Installing/Uninstalling several times I finally found that Jetpack was affecting mine. Tweaked some settings and it’s working pretty good now. Increased my GTMetrix and PageSpeed scores a fair amount and shows a lot more compression than Smush. Not positive how accurate the % is though.
Forum: Plugins
In reply to: [10WebSocial] Fatal error wd-instagram-feed/wd-instagram-feed.php on line 876Yep, I did the update today and was instantly locked out of my site. Had to get support to deactivate all my plugins so I could log in. An hour and a half to get it straight and now I guess I’ll delete it because I tried it twice and got locked out both times. I like the plugin but it’s a score killer and drags down load times and now this crap. Maybe too much hassle to continue on.
Forum: Plugins
In reply to: [10WebSocial] optimize images on feedIt’s really a score killer on GTMetrix etc.
Forum: Plugins
In reply to: [Weaver Xtreme Theme Support] Defer Parsing Of JavascriptIf I add the following to the bottom of the functions.php file my GTMetrix score goes from 79 to 88. However, that only lasts one test. Test it again and the score drops right back to 79.
/**
* Defer parsing of javascript.
*/
if (!(is_admin() )) {
function defer_parsing_of_js ( $url ) {
if ( FALSE === strpos( $url, ‘.js’ ) ) return $url;
if ( strpos( $url, ‘jquery.js’ ) ) return $url;
// return “$url’ defer “;
return “$url’ defer onload='”;
}
add_filter( ‘clean_url’, ‘defer_parsing_of_js’, 11, 1 );
}Forum: Plugins
In reply to: [Page Speed Optimization] The New PluginsYeah, it’s been removed by WordPress I guess. Real bummer! This was a great plugin and the new modules are great. In about a half hour I took my Pagespeed score from 81 to 99 on mobile and 79 to 94 on desktop. There is some silly feud I guess between the developers and WordPress. Totally unneeded, WordPress needs to leave these guys alone. From what I read it seems like Google has their hands in it. Once again the little guy loses out.
Hey Josh,
So, I got back to it tonight and was able to solve the blank window problem. Last night I deactivated the plugin “HTTP Headers” cleared the website cache in WP Super Cache and cleared my browser cache and the window was still blank. Tonight I reactivated “HTTP Headers” and started working on some settings one by one. When I got to the “Referer Policy” setting I had that set to “No Referer” I changed it to “no-referrer-when-downgrade” and boom! the window now loads. I’m not quite sure what that setting would have to do with the problem but it seems to have worked. I appreciate your help with this problem.
Paul
I also keep getting these errors when I try to update my theme
Failed to load resource: the server responded with a status of 406 (Not Acceptable)
public-api.wordpress.com/:7 WebSocket connection to ‘wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data’ failed: Error during WebSocket handshake: Unexpected response code: 403
update.php Failed to load resource: the server responded with a status of 406 (Not Acceptable)I was having the same problem on my installed plugins page if I clicked the “more details” for a plugin the window would pop up blank. After turning off the X-Frame deny option in HTTP headers it cleared itself up. I had just disabled the http headers plugin before you responded and tried the add link button and the window is still blank.
I’m running the plugin “HTTP Headers” One of the settings available is:
X-Frame-Options
This header can be used to indicate whether or not a browser should be allowed to render a page in a <frame>, <iframe> or <object>. Use this to avoid clickjacking attacks.I had this setting turned ON and my three choices with the setting were “Deny” “Same Origin” or “Allow-From” I had it set to Deny. I turned it off, refreshed the page and tried it again and still just get a blank window.
I opened a page in the editor highlighted the text clicked on the “add affiliate link” button. Window opens and stays blank. Used Chrome to check errors. I posted the full text below but pilled this part out of it because I think this might be it?
‘https://www.mechanic-man.com/wp-admin/admin-ajax.php?action=ta_advanced_add_affiliate_link&post_id=419&height=640&width=640&html_editor=true&’ in a frame because it set ‘X-Frame-Options’ to ‘deny’.
Sorry, I’m new to website development trying to teach myself. Hopefully, this is close to what you asked for.
public-api.wordpress.com/:7 WebSocket connection to ‘wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data’ failed: Error during WebSocket handshake: Unexpected response code: 403
O @ public-api.wordpress.com/:7
post.php?post=419&action=edit&ip-geo-block-auth-nonce=0e77fbe8a7:1 Blink deferred a task in order to make scrolling smoother. Your timer and network tasks should take less than 50ms to run to avoid this. Please see https://developers.google.com/web/tools/chrome-devtools/profile/evaluate-performance/rail and https://crbug.com/574343#c40 for more information.
post.php?post=419&action=edit&ip-geo-block-auth-nonce=0e77fbe8a7:1 Refused to display ‘https://www.mechanic-man.com/wp-admin/admin-ajax.php?action=ta_advanced_add_affiliate_link&post_id=419&height=640&width=640&html_editor=true&’ in a frame because it set ‘X-Frame-Options’ to ‘deny’.
2public-api.wordpress.com/:7 WebSocket connection to ‘wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data’ failed: Error during WebSocket handshake: Unexpected response code: 403
O @ public-api.wordpress.com/:7
j @ public-api.wordpress.com/:7
x @ public-api.wordpress.com/:7
n @ public-api.wordpress.com/:7
(anonymous) @ public-api.wordpress.com/:7
dispatch @ s0.wp.com/:3
r.handle @ s0.wp.com/:3Thanks for the help,
PaulForum: Fixing WordPress
In reply to: HTML check option in WordPress 4.9I’ve also run into another strange situation. I noticed on one of my pages that 4 widgets in the primary sidebar that two of them were missing. After trying everything I could think of, including trying to add new widgets nothing would show. Come to find out I had one custom HTML widget in the sidebar and any widgets below it would not show up. Moved the custom HTML widget to the bottom and everything would reappear. The code in the widget was just a simple banner ad. No <div> or anything else that I could see affecting the widgets below it. I have also noticed that if I change the text size in the custom HTML widget it changes the text size in all the widgets below it no matter what they are.
Forum: Plugins
In reply to: [Page Speed Optimization] Critical css page freezes@vivilo Greetings, It works in above the fold much the same way. Go to settings, click on the critical CSS tab, scroll down and you’ll find “Extract Full CSS” Use the pull-down menu and choose your page and click download. Open the saved file and copy your full CSS and then you can use the generator of your choice. Copy the generated critical css and paste it in the “Critical CSS Path” box at the top of the page.
Forum: Plugins
In reply to: [IP Geo Block] GeoIP update and other strange behaviorNow I’ve uninstalled it and it’s still trying to download the database. Not a big fan of checkboxes marking themselves and uninstalled software still trying to execute functions!
Forum: Fixing WordPress
In reply to: HTML check option in WordPress 4.9I totally agree I like that it makes you aware of errors but I want the ability to save whatever I want. One of my uses for custom HTML is to post affiliate banners and links. The code is generated by the affiliate and I don’t want to change any of it. Some affiliates specifically warn you not to alter the code. The errors the widget is pointing out are usually minor and do not affect the usability or page load times, scores, etc