All in One SEO plugin conflict
-
Hi! You seem to have an output buffer conflict with All in One SEO plugin. As far as my colleague managed to track down the issue, it comes from that in this file:
/wp-content/plugins/themify-builder/themify/class-themify-enqueue.php
your output buffer starts at line 272 and ends at 569. This file:
/wp-content/plugins/all-in-one-seo-pack/app/Common/Main/Head.php
closes it at line 128. This way your CSS files are getting into a wrong place in the HTML code. To reproduce the issue, please follow this guide:1. Create a minimal theme:
\wp-content\themes\test\index.php:
<!DOCTYPE html> <html> <head> <?php wp_head(); ?> </head> <body> <?php the_content(); wp_footer(); ?> </body> </html>
style.css:
/* Theme Name: test */
2. Activate this theme on your website. Then install All in One SEO and Themify Builder into this site.
3. Go to the frontend of the website -> right click on it -> choose “View page source”
Result:
You will see that your minified CSS files are getting before the <!DOCTYPE html> part, making the html code invalid.(For this ticket I’m rather marking on of the supporters of All in One SEO, so they would know about it too: @arnaudbroes)
- The topic ‘All in One SEO plugin conflict’ is closed to new replies.