wordpress favicon not working properly on all browsers

Curious fact: the favicon works only on admin dashboard on chrome/opera. I've tried to clean the cache, but still not work. The line of code to the favicon its being included, buts it just doesnt work. I'm including the favicon through admin panel, to be dynamic. I just dont want to include it direct on the code. Firefox (Works) Edge (Works) Tor (Works) Chrome (Works only on admin dashboard) Opera (Works only on admin dashboard)
Category: Web

WordPress website loads but is not displayed until page scrolled

I have built a WordPress website. It loads without problems until recently, but now I am facing a strange behaviour. The website loads, but nothing is displayed until I scroll the page down, or change the browser's window size. Then the page immediately appears. I am having this problem with Chrome browsers only (both normal and incognito modes). Website: netsooq.com/cloudtender/
Category: Web

Setup cookie on Chrome even without HTTPS

I need to setup a cookie, however Chrome lately seems to accept them only through HTTPS. The "setcookie" function I use works everywhere except Chrome. If I move to HTTPS, it results as properly set up. I tried to understand how WordPress works then, checking https://developer.wordpress.org/reference/functions/wp_set_auth_cookie/ and copied a bit of its parameters. the final code is $secure = (is_ssl() && 'https' === parse_url(get_option('home'), PHP_URL_SCHEME)); setcookie($name, $value, $expiration, COOKIEPATH, COOKIE_DOMAIN, $secure, true); This is still not working though, what am …
Category: Web

Woocommerce: Can't put items in cart in iframe and on iphone

I have the following problem: I have a Wordpress page that contains a Woocommerce store. This page is embedded in an iframe on a typo3 page. If I visit the typo3 page with Google Chrome it is not possible to add products to the shopping cart. There is no error message, but the cart remains empty. The same problem occurs when I open the page on my iphone. When I open the page in Firefox, Internet Explorer or Edge it …
Category: Web

How to fix samesite attribute in wordpress for chrome errors?

I have several wordpress sites that run on a rhel7 box that I admin. All of the sites use a custom SSO plugin that I wrote. Today I was told that other sites were having issues accessing one of our sites. So site x.com has our site (y.com) iframed on one of its pages and gets stuck in a loop and gets the following browser error below. I did set php (7.3) session variable for samesite to Secure and I …
Category: Web

Google Tag Manger - no-script Code Not Found

I am having trouble getting the "GTM no-script code not found: either missing or not in " issue resolved. The GTM script is placed after the < head > tag. No issues. However, when using the Google Chrome Tag Assistant, I keep getting the "GTM no-script code not found: either missing or not in " error. Here is where I am placing the GTM noscript code in the header.php file: <body <?php body_class(); ?>> <!-- Google Tag Manager (noscript) --> …
Category: Web

Google CSE Malfunctions via Chrome/Safari on Mobile When Clicking on Either Search Icon/Menu Icon. How to Make Google CSE Default Theme Search

Let me briefly go over the issue we are having with the search in the header. While on our website via Google Chrome/Safari for mobile or Google Chrome incognito for desktop and you touch the search icon or the menu icon in the header a highlight animation happens but the search box will not populate. Instead, it adds a hashtag to the end of the URL and jumps you to the top. To fix this issue, you have to refresh …
Category: Web

AJAX request from Chrome Extension to Wordpress Website

I developed a chrome extension which extract some data from the user visiting page and I want to transmit them to my database by an AJAX call (my website is a basic wordpress website). The point is that the ajax response is error 400 and I do not understand where is the problem as I tried to modify my ajax request the best I could. Here is my AJAX request from content.js /* Popup clicked */ $('#myOwnCustomToolBar_TT91 #message_to_click form.groupio_form #subscribe').on('click', …
Category: Web

I just got my domain vsmathur.co.in verified by Google Domains, but cannot access my WordPress site, Help!

Folks, Just to give you a brief history, I have been running my WordPress site located at: http://vsmathur.co.in successfully till 10th of December, 2019. I was also able to access the /wp-admin. Then I registered my domain with domains.google.com, and suddenly my website stops responding, giving me a 404 Error (See Screenshot below) I tried changing the A Record on my site to know avali. I even created a new .htaccess file with the Re-Write rule, but it still does …
Category: Web

checkout stripe with plugin contact form

I have an issue with stripe, i am using the plugin contact form 7 stripe & paypal addon, but when i fill the form with my bank informations and i click on checkout button the page is stuck and the payment stay in load. When i open my console on chrome i have this errors : ui-shared-effa3a053bc4ef4561898ec62ce92736.js:1 Refused to load the image 'data:image/svg+xml;base64,'some code' because it violates the following Content Security Policy directive: "img-src 'self' https://q.stripe.com". and Failed to load …
Category: Web

Loading issue on Chrome for my Wordpress theme

I am getting a weird loading issue on my Wordpress theme that happens on Chrome only, I've tested it on Safari and Firefox, the content gets loaded all in once, but if you scroll down the page fast on the Chrome browser, it shows blank areas and loads the remaining content after 1 second, please check it out at http://xscoder.com/wp-demo/vintymag/ Any idea of what's causing that sort of "flickering" issue? I've also noticed that the sidebar follows the content while …
Category: Web

Header's CSS doesn't work in Chrome and Opera - any ideas how to fix it?

I am creating a Wordpress site, but I have a problem with desktop version of Chrome and Opera - my header displays differently here (in all other browsers everything works just fine). Here are screenshots showing what I mean: Firefox: https://i.imgur.com/4U11dfN.png (everything's fine) Chrome (in Opera it looks the same): https://i.imgur.com/kkyeklc.jpg (menu items are not aligned properly). Here's my site: http://tophistorie.pl/ Do you guys have any ideas what could go wrong? I'm desperate for help - tried to figure it …
Category: Web

Chrome Dev Tools console says every page in my blog has link to http://maps.google.com

Viewing any page of my blog at https://www.rephunter.net/blog/ with the Chrome Dev Tools console open gives a Mixed Content error message. The problem is that I cannot find where that link is, and to my knowledge we do not use maps.google.com. I am thinking it might be buried somewhere in the theme. How can I find out where this link is coming from?
Category: Web

Why does chrome keep downloading a file instead of running the site?

I have installed Wordpress by downloading the latest version of Wordpress, installing WampServer (64 bit), setting up the DB, and successfully got through the famous 5-minute installation. This all worked. This is all on localhost. Now, however, I want to work on a different website that was sent to me as a zip file. This zip file included the wordpress folder and the SQL file to import the DB stuff. I pasted in the wordpress folder as "wordpress2" into the …
Category: Web

In-page link works in Firefox but not in Chrome

This is a follow-up to: https://stackoverflow.com/a/48521592/1697709 The standard way of using http://example.com/page#design as link into <h2 id="design">Design</h2> does not make the browser to jump this header to the top of the page. <a name="design"><h2>Design</h2></a> does it on Firefox, following https://www.kasareviews.com/wordpress-page-jump-links/ It also works in Internet Explorer. But it does not work on Google Chrome. What else should I do to make it work on Chrome?
Category: Web

White blank page when Updating/Draft/Publishing Page/Post

On my VPS (centos 6.7 64x, 2 cpu's and 3gb ram) I have setup a WP MU(Memory usage: 53.97 MByte)and many times I have a blank page when I make a post draft or publish/updating it, or when I want to move as an admin to another option in wp. I have added on the top of the file wp-config.php define('WP_MEMORY_LIMIT', '256M'); define('WP_MAX_MEMORY_LIMIT', '512M'); Also, by doing 'inspect element on chrome, I noticed that it shows me this this error: …
Category: Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.