Site logo

Archived topic

GeneratePress 2.3 alpha 1 - Combine CSS errors

22 replies · Started by Enrico on May 27, 2019

Viewing posts 1–15 of 23

I have tested GeneratePress 2.3 alpha 1 on a little site.

Apparently it work, but when I do an audit with google chrome developer tool I get this error:

Best Practices

Browser errors were logged to the console

Errors logged to the console indicate unresolved problems. They can come from network request failures and other browser concerns.

themes/generatepress/js/a11y.min.js?ver=2.3-alpha.1

Description:
TypeError: Cannot read property 'length' of undefined at /wp-content/themes/generatepress/js/a11y.min.js?ver=2.3-alpha.1:1:1327 at /wp-content/themes/generatepress/js/a11y.min.js?ver=2.3-alpha.1:1:2108

I was wrong the problem is not in Combine CSS, I removed combine CSS and the error is still there.
So it is a general problem of GeneratePress 2.3 alpha 1

Hi there,

i am not seeing any error in the console. Can you try opening the site in an incognito browser and see if the errors are reported?

Hi David,
I have done it in incognito mode with Chrome 74.0.3729.169 ( 64 bits) and with Chrome Canary, same error.
On other sites without the alpha 1 version I have not this problem.

I use Windows 10 version 1903 build 18362.145

I am not seeing the errors - are you able to connect to the site using a different network? In case your IP has cached the site

Sorry, I don't have a different network, but I have installed again the released version 2.2.2 and the error immediately disappeared.

Then I installed again the alpha-1 and the problem is back again under best practices.

Looks like a bug - will take a look and get back to you ASAP.

Thanks! :)

Hi Tom,
I trust you :-) I will wait for the alfa.2.

Thanks a lot
Enrico

Hi Tom,
the problem is solved with alpha.2

I tested alpha.2 on a different site, you can go to the site from the blog link.

The site don't use sections, and, doing an audit, I found a new error, again under Best practices.

Does not use passive listeners to improve scrolling performance:
Consider marking your touch and wheel event listeners as passive to improve your page's scroll performance. Learn more.

…js/a11y.min.js?ver=2.3-alpha.2
…js/comment-reply.min.js?ver=5.2.1

-------------------------------------------------
I tested also the new svg icon and the search svg is too little, it could be because I already use svg in my menus. But I don't know how to set only the search svg size.

I'm not sure if we'll be able to set it to passive due to browser compatibility, but I'll look into it.

As for the SVG, can I see the issue on your website maybe?

OK, don't worry.

I have made some test and I was wrong, the search SVG size is not set by my CSS for my SVG in the menu.
In fact, the search SVG is not smaller, it is only thinner.

For me it is ok.

Awesome - thanks again for reporting the issue :)

This archived topic is closed to new replies.