-
Notifications
You must be signed in to change notification settings - Fork 3
PHP fatal error in plugin activation #99
Comments
I've updated the zip file, can you try again? Thanks 🙂 |
In the latest zip, I get following. |
Oh crap, I've removed the EDIT: Try downloading the new version now 🙂 |
Ok, no fatal error. Is |
Nope, I'm having issues with that 😕 The new sniffing process is different than the old one so I have to create my own sniff runner And there something is behaving odd... |
Ok, closing this issue for now. |
If you find any more issues let me know 🙂 |
Fatal error: Uncaught TypeError: Return value of Theme_Sniffer\Assets\Assets_Handler::add() must be an instance of Theme_Sniffer\Assets\void, none returned in /var/www/review.dev/public_html/wp-content/plugins/theme-sniffer/src/assets/class-assets-handler.php:35 Stack trace: #0 /var/www/review.dev/public_html/wp-content/plugins/theme-sniffer/src/assets/assets-awareness-trait.php(41): Theme_Sniffer\Assets\Assets_Handler->add(Object(Theme_Sniffer\Assets\Script_Asset)) #1 /var/www/review.dev/public_html/wp-content/plugins/theme-sniffer/src/admin-menus/class-base-admin-menu.php(33): Theme_Sniffer\Admin_Menus\Base_Admin_Menu->register_assets() #2 /var/www/review.dev/public_html/wp-content/plugins/theme-sniffer/src/class-plugin.php(136): Theme_Sniffer\Admin_Menus\Base_Admin_Menu->register() #3 [internal function]: Theme_Sniffer\Core\Plugin->Theme_Sniffer\Core{closure}(Object(Theme_Sniffer\Admin_Menus\Sniff_Page), 1) #4 /var/www/review.dev/public_html/wp-content/plugins/theme-sniffer/src/class-plugin.php(137): array_walk(Array, in /var/www/review.dev/public_html/wp-content/plugins/theme-sniffer/src/assets/class-assets-handler.php on line 35
The text was updated successfully, but these errors were encountered: