bobbingwide / oik

OIK Information Kit
https://www.oik-plugins.com/oik-plugins/oik
GNU General Public License v2.0
2 stars 0 forks source link

wp-pompey.org.uk - Fatal error: Uncaught Error: Class 'OIK_SVG_icons' not found #194

Closed bobbingwide closed 2 years ago

bobbingwide commented 2 years ago

Fatal error: Uncaught Error: Class 'OIK_SVG_icons' not found in /home/customer/www/wp-pompey.org.uk/public_html/wp-content/plugins/oik/shortcodes/oik-follow.php:455

Stack trace: 
#0 /home/customer/www/wp-pompey.org.uk/public_html/wp-content/plugins/oik/shortcodes/oik-follow.php(273): bw_follow_link_svg('https://www.twi...', 'twitter', 'Twitter', '@herb_miller', NULL) 
bobbingwide/bobbingwide#1 /home/customer/www/wp-pompey.org.uk/public_html/wp-content/plugins/oik/shortcodes/oik-follow.php(27): bw_follow_link('https://www.twi...', 'twitter', 'Twitter', Array) 
bobbingwide/bobbingwide#2 /home/customer/www/wp-pompey.org.uk/public_html/wp-content/plugins/oik/shortcodes/oik-follow.php(82): bw_follow(Array) 
bobbingwide/bobbingwide#3 /home/customer/www/wp-pompey.org.uk/public_html/wp-content/plugins/oik/libs/oik-shortcodes.php(229): bw_twitter(Array, '', 'bw_twitter') 
bobbingwide/bobbingwide#4 /home/customer/www/wp-pompey.org.uk/public_html/wp-includes/shortcodes.php(356): bw_shortcode_event(Array, '', 'bw_twitter') 
bobbingwide/bobbingwide#5 [internal function]: do_shortcode_tag(Array) 
bobbingwide/bobbingwide#6 /home/customer/www/wp-pompey.org.uk/public_html/wp-inclu in /home/customer/www/wp-pompey.org.uk/public_html/wp-content/plugins/oik/shortcodes/oik-follow.php on line 455
bobbingwide commented 2 years ago

This was a problem with oik v4.5.0 from wordpress.org. I failed to release two shared libraries: class-oik-svg-icons.php and oik-dash-svg-list.php.

Workaround

Install oik v4.5.0 from the .zip file available from oik-plugins.com

Proper fix

Finish the work to replace dashicons with SVG icons in [bw_follow_me]

bobbingwide commented 2 years ago

Finish the work to replace dashicons with SVG icons in [bw_follow_me]

This was done in oik v4.6.0. Commit: 7a2a91d