CSS Mixed Content
-
Hello.
I had AAM on my Website on a test Server, everything was fine.
I then placed it on my test Server, and i got 2 error:Mixed Content: The page at ‘https://my-website/wp-admin/admin.php?page=aam’ was loaded over HTTPS, but requested an insecure stylesheet ‘https://my-website/wp-content/plugins/advanced-access-manager/media/css/vendor.min.css’. This request has been blocked; the content must be served over HTTPS.
Same for avanced-access-manager/media/css/aam.cssDon’t know why, this is the only plugin where i have these type of error.
I checked where these css files where declared: in
wp-content/plugins/advanced-access-manager/application/Backend/tmpl/metabox/iframe-header.php line 25 and line 26.
So i replaced
<link rel=”stylesheet” href=”<?php echo AAM_MEDIA; ?>/css/vendor.min.css” type=”text/css” media=”all” /> to
<link rel=”stylesheet” href=”/wp-content/plugins/advanced-access-manager/media/css/vendor.min.css” type=”text/css” media=”all” />and <link rel=”stylesheet” href=”<?php echo AAM_MEDIA; ?>/css/aam.css” type=”text/css” media=”all” /> to
<link rel=”stylesheet” href=”/wp-content/plugins/advanced-access-manager/media/css/aam.css” type=”text/css” media=”all” />
It’s a temporary fix, this modification will be overriten when a new update will be done.
Why do i only have these type of Mixed Content Problem only on this plugin ?
- The topic ‘CSS Mixed Content’ is closed to new replies.