bjsnider
Forum Replies Created
-
I am aware of this and I can increase the script memory size limit, but I am concerned that this represents a memory leak from WF. If this continues to happen after I increase the limit I will report back.
Forum: Plugins
In reply to: [Gutenberg Custom Fields] Blank page when klicking on GCFMy preference would have been to create a pull request on Github, but I didn’t know which of the libs you wanted.
Forum: Plugins
In reply to: [Gutenberg Custom Fields] Blank page when klicking on GCFI have this bug and I have tracked down the cause.
The gcf-config-app js script cannot be enqueued because it depends on the gcf-fields script, which has a mistake in the dependency array. On gutenberg-custom-fields/lib/fields-script.php line 12 (the deps list) there is a reference to a script with the handle ‘wp-utils’, which as far as I can tell, doesn’t exist (you can var_dump the global $wp_scripts var to check which handles you can use, eg. global $wp_scripts; var_dump($wp_scripts);).
There are two variants which do exist — utils, and wp-util. I tried using both instead of the wp-utils handle, and both fix this bug, however I am not sure which script the plugin author wants to use.