Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 94 total)
  • Author
    Posts
  • in reply to: Meta Box error on saving post #40008
    ArnoArno
    Participant

    I'm having a hard time finding out what exactly triggers this. Last night the error was not logged again. The day before, it was logged a lot.

    Ole, do you have more details?

    in reply to: recent update breaks site #39552
    ArnoArno
    Participant

    @Peter: I'm happy it's fixed, thanks! I lost a whole productive morning because of this, so I wonder if this can be prevented in the future? Bugs are inevitable, but a critical bug like this with so many sites affected should have been discovered in the testing phase, before making the update available. Right?

    in reply to: recent update breaks site #39551
    ArnoArno
    Participant

    For anyone who can't access the WordPress admin area: you can deactivate all plugins by renaming the plugins folder, then go to your WordPress admin, then rename the plugins folder back to the original name, then go to the WordPress admin again. This is explained here: https://www.wpbeginner.com/plugins/how-to-deactivate-all-plugins-when-not-able-to-access-wp-admin/

    All plugins are now deactivated. Activate all except Meta Box. Then update Meta Box to 5.6.11 and activate it.

    in reply to: recent update breaks site #39546
    ArnoArno
    Participant

    @Ole: is that what you hope, or do you have more information from the Meta Box team?

    in reply to: recent update breaks site #39539
    ArnoArno
    Participant

    My error message is similar but about a different php file:
    Fatal error: Declaration of MBSP\MetaBox::is_edit_screen($screen = null) must be compatible with RW_Meta_Box::is_edit_screen($screen = null): bool in /home/usermsa220605/public_html/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-settings-page/src/MetaBox.php on line 68

    @Meta Box team: please provide feedback quickly. I would very much prefer a fix that does not require me to restore a backup. I have a backup but I would also loose some staging copies that are not part of the backup.

    I did not receive the WordPress e-mail with a recovery link, so no option to try that either.

    in reply to: recent update breaks site #39538
    ArnoArno
    Participant

    Same problem here. How do we roll back? The admin area can't be reached anymore.

    in reply to: Error 400 when adding or removing terms #39120
    ArnoArno
    Participant

    Hi Peter,

    I tested in another browser now: Firefox with the cache emptied, instead of Chrome before. But it's still a problem, so it\s not browser dependent.

    I will e-mail you a link to my screen recording. Perhaps you can see what I do different than you.

    in reply to: Error 400 when adding or removing terms #39090
    ArnoArno
    Participant

    I tried but I keep getting critical errors.

    It's taking too much time. I removed the code. I will e-mail you the login to the test site. Please have a look. Thanks!

    in reply to: Error 400 when adding or removing terms #39060
    ArnoArno
    Participant

    Hi Peter,

    I first deleted all taxonomies and post types not needed for the test. Then I generated the PHP code for 1 remaining post type and 2 remaining taxonomies. That code did not seem correct: it still referred to trashed post types and taxonomies. Does the code generator not check for that?

    I tried to correct the code, here what I have:

    add_action( 'init', 'your_prefix_register_post_type' );
    function your_prefix_register_post_type() {
    	$labels = [
    		'name'                     => esc_html__( 'Activities', 'your-textdomain' ),
    		'singular_name'            => esc_html__( 'Activity', 'your-textdomain' ),
    		'add_new'                  => esc_html__( 'Add New', 'your-textdomain' ),
    		'add_new_item'             => esc_html__( 'Add new activity', 'your-textdomain' ),
    		'edit_item'                => esc_html__( 'Edit Activity', 'your-textdomain' ),
    		'new_item'                 => esc_html__( 'New Activity', 'your-textdomain' ),
    		'view_item'                => esc_html__( 'View Activity', 'your-textdomain' ),
    		'view_items'               => esc_html__( 'View Activities', 'your-textdomain' ),
    		'search_items'             => esc_html__( 'Search Activities', 'your-textdomain' ),
    		'not_found'                => esc_html__( 'No activities found', 'your-textdomain' ),
    		'not_found_in_trash'       => esc_html__( 'No activities found in Trash', 'your-textdomain' ),
    		'parent_item_colon'        => esc_html__( 'Parent Activity:', 'your-textdomain' ),
    		'all_items'                => esc_html__( 'All Activities', 'your-textdomain' ),
    		'archives'                 => esc_html__( 'Activity Archives', 'your-textdomain' ),
    		'attributes'               => esc_html__( 'Activity Attributes', 'your-textdomain' ),
    		'insert_into_item'         => esc_html__( 'Insert into activity', 'your-textdomain' ),
    		'uploaded_to_this_item'    => esc_html__( 'Uploaded to this activity', 'your-textdomain' ),
    		'featured_image'           => esc_html__( 'Featured image', 'your-textdomain' ),
    		'set_featured_image'       => esc_html__( 'Set featured image', 'your-textdomain' ),
    		'remove_featured_image'    => esc_html__( 'Remove featured image', 'your-textdomain' ),
    		'use_featured_image'       => esc_html__( 'Use as featured image', 'your-textdomain' ),
    		'menu_name'                => esc_html__( 'Activities', 'your-textdomain' ),
    		'filter_items_list'        => esc_html__( 'Filter activities list', 'your-textdomain' ),
    		'filter_by_date'           => esc_html__( '', 'your-textdomain' ),
    		'items_list_navigation'    => esc_html__( 'Activities list navigation', 'your-textdomain' ),
    		'items_list'               => esc_html__( 'Activities list', 'your-textdomain' ),
    		'item_published'           => esc_html__( 'Activity published', 'your-textdomain' ),
    		'item_published_privately' => esc_html__( 'Activity published privately', 'your-textdomain' ),
    		'item_reverted_to_draft'   => esc_html__( 'Activity reverted to draft', 'your-textdomain' ),
    		'item_scheduled'           => esc_html__( 'Activity scheduled', 'your-textdomain' ),
    		'item_updated'             => esc_html__( 'Activity updated', 'your-textdomain' ),
    	];
    	$args = [
    		'label'               => esc_html__( 'Activities', 'your-textdomain' ),
    		'labels'              => $labels,
    		'description'         => '',
    		'public'              => true,
    		'hierarchical'        => false,
    		'exclude_from_search' => false,
    		'publicly_queryable'  => true,
    		'show_ui'             => true,
    		'show_in_nav_menus'   => true,
    		'show_in_admin_bar'   => true,
    		'show_in_rest'        => true,
    		'query_var'           => true,
    		'can_export'          => true,
    		'delete_with_user'    => false,
    		'has_archive'         => true,
    		'rest_base'           => '',
    		'show_in_menu'        => true,
    		'menu_position'       => 2,
    		'menu_icon'           => 'dashicons-camera-alt',
    		'capability_type'     => 'post',
    		'supports'            => ['title', 'editor', 'thumbnail', 'excerpt', 'author', 'custom-fields', 'revisions'],
    		'taxonomies'          => ['season', 'best-season'],
    		'rewrite'             => [
    			'with_front' => false,
    		],
    	];
    
    	register_post_type( 'activity', $args );
    }
    
    add_action( 'init', 'undefined' );
    function undefined() {
    	$labels = [
    		'name'                       => esc_html__( 'Seasons', 'your-textdomain' ),
    		'singular_name'              => esc_html__( 'Season', 'your-textdomain' ),
    		'search_items'               => esc_html__( 'Search Seasons', 'your-textdomain' ),
    		'popular_items'              => esc_html__( 'Popular Seasons', 'your-textdomain' ),
    		'all_items'                  => esc_html__( 'All Seasons', 'your-textdomain' ),
    		'parent_item'                => esc_html__( 'Parent Season', 'your-textdomain' ),
    		'parent_item_colon'          => esc_html__( 'Parent Season:', 'your-textdomain' ),
    		'edit_item'                  => esc_html__( 'Edit Season', 'your-textdomain' ),
    		'update_item'                => esc_html__( 'Update Season', 'your-textdomain' ),
    		'add_new_item'               => esc_html__( 'Add New Season', 'your-textdomain' ),
    		'new_item_name'              => esc_html__( 'New Season Name', 'your-textdomain' ),
    		'separate_items_with_commas' => esc_html__( 'Separate Seasons with commas', 'your-textdomain' ),
    		'add_or_remove_items'        => esc_html__( 'Add or remove Seasons', 'your-textdomain' ),
    		'choose_from_most_used'      => esc_html__( 'Choose from the most used Seasons', 'your-textdomain' ),
    		'menu_name'                  => esc_html__( 'Seasons', 'your-textdomain' ),
    		'view_item'                  => esc_html__( 'View Season', 'your-textdomain' ),
    		'filter_by_item'             => esc_html__( 'Filter by Season', 'your-textdomain' ),
    		'not_found'                  => esc_html__( 'Not Seasons found', 'your-textdomain' ),
    		'no_terms'                   => esc_html__( 'No Seasons', 'your-textdomain' ),
    		'items_list_navigation'      => esc_html__( 'Seasons list navigation', 'your-textdomain' ),
    		'items_list'                 => esc_html__( 'Seasons list', 'your-textdomain' ),
    		'back_to_items'              => esc_html__( 'Back to Seasons', 'your-textdomain' ),
    	];
    	$args = [
    		'label'                 => esc_html__( '', 'undefined' ),
    		'labels'                => $labels,
    		'description'           => '',
    		'wpcf-tax'              => season,
    		'icon'                  => admin-post,
    		'public'                => public,
    		'hierarchical'          => false,
    		'supports'              => [object Object],
    		'show_ui'               => true,
    		'query_var_enabled'     => true,
    		'query_var'             => true,
    		'update_count_callback' => '',
    		'_toolset_edit_last'    => 1649086927,
    		'_wpcf_author_id'       => 1,
    		'name'                  => false,
    		'show_in_rest'          => true,
    		'publicly_queryable'    => true,
    		'meta_box_cb'           => 'post_tags_meta_box',
    		'rest_base'             => '',
    		'rewrite'               => [
    			'with_front'   => true,
    			'hierarchical' => false,
    		],
    	];
    	register_taxonomy( 'seasons', ['activity'], $args );
    }
    
    add_action( 'init', 'undefined' );
    function undefined() {
    	$labels = [
    		'name'                       => esc_html__( 'Best seasons', 'your-textdomain' ),
    		'singular_name'              => esc_html__( 'Best season', 'your-textdomain' ),
    		'search_items'               => esc_html__( 'Search Best seasons', 'your-textdomain' ),
    		'popular_items'              => esc_html__( 'Popular Best seasons', 'your-textdomain' ),
    		'all_items'                  => esc_html__( 'All Best seasons', 'your-textdomain' ),
    		'parent_item'                => esc_html__( 'Parent Best season', 'your-textdomain' ),
    		'parent_item_colon'          => esc_html__( 'Parent Best season:', 'your-textdomain' ),
    		'edit_item'                  => esc_html__( 'Edit Best season', 'your-textdomain' ),
    		'update_item'                => esc_html__( 'Update Best season', 'your-textdomain' ),
    		'add_new_item'               => esc_html__( 'Add New Best season', 'your-textdomain' ),
    		'new_item_name'              => esc_html__( 'New Best season Name', 'your-textdomain' ),
    		'separate_items_with_commas' => esc_html__( 'Separate Best seasons with commas', 'your-textdomain' ),
    		'add_or_remove_items'        => esc_html__( 'Add or remove Best seasons', 'your-textdomain' ),
    		'choose_from_most_used'      => esc_html__( 'Choose from the most used Best seasons', 'your-textdomain' ),
    		'menu_name'                  => esc_html__( 'Best seasons', 'your-textdomain' ),
    		'view_item'                  => esc_html__( 'View Best season', 'your-textdomain' ),
    		'filter_by_item'             => esc_html__( 'Filter by Best season', 'your-textdomain' ),
    		'not_found'                  => esc_html__( 'Not Best seasons found', 'your-textdomain' ),
    		'no_terms'                   => esc_html__( 'No Best seasons', 'your-textdomain' ),
    		'items_list_navigation'      => esc_html__( 'Best seasons list navigation', 'your-textdomain' ),
    		'items_list'                 => esc_html__( 'Best seasons list', 'your-textdomain' ),
    		'back_to_items'              => esc_html__( 'Back to Best seasons', 'your-textdomain' ),
    	];
    	$args = [
    		'label'                 => esc_html__( '', 'undefined' ),
    		'labels'                => $labels,
    		'description'           => '',
    		'wpcf-tax'              => best-season,
    		'icon'                  => admin-post,
    		'public'                => public,
    		'hierarchical'          => false,
    		'supports'              => [object Object],
    		'show_ui'               => true,
    		'query_var_enabled'     => true,
    		'query_var'             => true,
    		'update_count_callback' => '',
    		'_toolset_edit_last'    => 1649086947,
    		'_wpcf_author_id'       => 1,
    		'name'                  => false,
    		'show_in_rest'          => true,
    		'publicly_queryable'    => true,
    		'meta_box_cb'           => 'post_tags_meta_box',
    		'rest_base'             => '',
    		'rewrite'               => [
    			'with_front'   => true,
    			'hierarchical' => false,
    		],
    	];
    	register_taxonomy( 'best-seasons', ['activity'], $args );
    }

    This throws an error:
    Parse error: syntax error, unexpected token "public" in /public_html/testsite/wp-content/themes/kadence_child/functions.php on line 113

    What's wrong with the code?

    Thanks,
    Arno

    in reply to: Error logged when setting post terms #38899
    ArnoArno
    Participant

    Hi Long,

    I have Meta Box 5.6.7 and Meta Box AIO 1.16.5. Which plugin should be 1.0.4?

    Thanks,
    Arno

    in reply to: Error logged when setting post terms #38780
    ArnoArno
    Participant

    Hi Long,

    What's the status of this issue? My log files are still stuffed with this error message.

    Thanks,
    Arno

    in reply to: Text tab of the WYSIWYG editor is empty #38744
    ArnoArno
    Participant

    Thanks for sharing that Pat.

    Question to Meta Box support: does the above info perhaps help you to solve this? I only use underscores as a "special" character in field IDs. I assume that's not causing this as it's common practise.

    in reply to: Text tab of the WYSIWYG editor is empty #38740
    ArnoArno
    Participant

    Hi Pat,

    I think it requires Pro. I have the Pro version as well.

    You may also want to try to switch your theme to a default WP theme. If the problem still persists, you have a good case for Meta Box support to look into.

    in reply to: Text tab of the WYSIWYG editor is empty #38732
    ArnoArno
    Participant

    Hi Pat,

    I'm using the Code Snippets plugin. I added a CSS snippet and set it to "Administration area styles". There are other ways to do it too.

    Are you also using WPML or Fluent Forms by any chance? For a moment I thought they caused this, but it's really hard to find the actual cause, so I gave up and am using the work around.

    in reply to: Text tab of the WYSIWYG editor is empty #38645
    ArnoArno
    Participant

    Ok, please find the login your e-mail.

    If you go to the homepage, edit it, and open the Content summary, you can see the problem. This is just an example, it happens for all Meta Box fields.

    But if you go to Code Snippets, open any script, and scroll down to the Description, you'll find the same editor without this issue.

    What do you think the problem is?

Viewing 15 posts - 16 through 30 (of 94 total)