tb_show is not defined in advance custom field

Did you also add wp_enqueue_script(‘media-upload’) in functions.php ? I tried this and it’s working: function load_admin_things() { wp_enqueue_script(‘media-upload’); wp_enqueue_script(‘thickbox’); wp_enqueue_style(‘thickbox’); } add_action( ‘admin_enqueue_scripts’, ‘load_admin_things’ );

Why is my Gutenberg block returning an error after initial save?

The main issue in your code is with these two attributes which use the exact same selector (the first span element in your block content): checkListItemOne: { type: ‘string’, source: ‘html’, selector: ‘span’ // same as below }, checkListItemTwo: { type: ‘string’, source: ‘html’, selector: ‘span’ // same as above } Which means the block … Read more

Application passwords not working on localhost?

That error could happen if wp_is_application_passwords_available() returns a false, and the docs says: By default, Application Passwords is available to all sites using SSL or to local environments. Use ‘wp_is_application_passwords_available’ to adjust its availability. So, to enable the Application Passwords: Enable SSL on your localhost, Or define WP_ENVIRONMENT_TYPE either as a global system variable or … Read more

Allowed Memory Size Error in WordPress

The amount of memory that is allocated to PHP is insufficient. Add this to your wp-config.php file: define(‘WP_MEMORY_LIMIT’, ’64M’); If that doesn’t work, the chances are your host has this locked down and you can’t change it, in which case you either need to simplify your site, or move hosts.