Hello,
I have a one problem, after install yours plugin I don’t go to my active plugins list. Because when I go in my admin panel to active plugins list I see “Fatal error”.
I uninstall yours plugin, restored backup before install plugin and change name plugins file in FTP, but everything not resolved error.
I active debug mode and I see error:
Fatal error: Uncaught TypeError: Unsupported operand types: string + int in /home/niezle-ziolko.eu/public_html/wp-admin/includes/class-wp-plugins-list-table.php:190 Stack trace: #0 /home/niezle-ziolko.eu/public_html/wp-admin/plugins.php(534): WP_Plugins_List_Table->prepare_items() #1 {main} thrown in /home/niezle-ziolko.eu/public_html/wp-admin/includes/class-wp-plugins-list-table.php on line 190
What can I resolved this error?
]]>Awesome plugin!
Do you plan to add an option to inline CSS (and JS)?
Something like
function hook_inline_css() {
$css_path = 'wp-content/uploads/some.css'
$css_content = file_get_contents( $css_path );
echo '<style>'
.PHP_EOL
.'/*' . $css_path . '*/'
.PHP_EOL
. $css_content
.'</style>';
}
add_action('wp_head','hook_inline_css');
]]>
Plugin throws fatal error when saving rearranged assets. Here it is:
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in \wp-content\plugins\gsp-assets-manager\gsp.php:114
Stack Trace
1.
gsp_ajax_save('')
\wp-includes\class-wp-hook.php:307
2.
WP_Hook->apply_filters('', Array)
\wp-includes\class-wp-hook.php:331
3.
WP_Hook->do_action(Array)
\wp-includes\plugin.php:474
4.
do_action('wp_ajax_gsp_sav...')
\wp-admin\admin-ajax.php:187
5.
{main}
thrown in \wp-content\plugins\gsp-assets-manager\gsp.php on line 114
]]>