Database Table Errors and Bedrock Compatibility
-
Hello,
we’ve wanted to test the plugin as an alternative to the selfhost-google-fonts plugin which seems to be abandoned.
But after we auto-detected the fonts, downloaded them and generated the stylesheet it throws the following errors after hitting the save button:WordPress database error: [Duplicate column name ‘local’]
ALTER TABLE Dr6klF_omgf_fonts ADD COLUMN local varchar(128) AFTER font_style;WordPress database error: [Table ‘wordpress.Dr6klF_caos_webfonts’ doesn’t exist]
ALTER TABLE Dr6klF_caos_webfonts RENAME TO Dr6klF_omgf_fontsWordPress database error: [Table ‘wordpress.Dr6klF_caos_webfonts_subsets’ doesn’t exist]
ALTER TABLE Dr6klF_caos_webfonts_subsets RENAME TO Dr6klF_omgf_fonts_subsetsWordPress database error: [Duplicate column name ‘preload’]
ALTER TABLE Dr6klF_omgf_fonts ADD COLUMN preload tinyint(1) DEFAULT 0 AFTER local;Additionally it seems the plugin is not compatible with the bedrock wordpress boilerplate by roots.io.
In this setup WordPress is installed in a “wp” subfolder and wp-content is called “app”.
See here: https://roots.io/bedrock/The plugin downloads the fonts and created the fonts.css file in the app/cache/omgf-webfonts folder.
At the frontend the fonts.css file can’t be found cause the path to the font.css file gets prepended with “wp”.
So intead of https://example.dev/app/cache/omgf-webfonts/fonts.css the path is:
https://example.dev/wp/app/cache/omgf-webfonts/fonts.cssAny idea how we can fix this issues?
Thanks
- The topic ‘Database Table Errors and Bedrock Compatibility’ is closed to new replies.