Hm, that’s odd. Can you tell me what version of WordPress you are using @jsmoriss?
@aurooba, you use a comma after $asset_file['version'], which would be fine for an array, but not for function arguments before PHP v7.3:
28 wp_enqueue_script(
29 'createwithrani-quickpost-js',
30 plugins_url( $index_js, __FILE__ ),
31 $asset_file['dependencies'],
32 $asset_file['version'],
33 );
js.
Aha! Thanks for letting me know your PHP version! That’s right. I’ll fix that up, I forgot to test earlier versions, that’s my bad. Thanks for the catch @jsmoriss! I’ve just pushed an update that should resolve the issue. 🙂