layotter icon indicating copy to clipboard operation
layotter copied to clipboard

( ! ) Warning: Missing or invalid argument: description, using default value instead.

Open MatzeKitt opened this issue 6 years ago • 0 comments

For each custom module we’ve added as the old documentation says, we receive the following warning on the bottom of each post edit page:

( ! ) Warning: Missing or invalid argument: description, using default value instead. in /Users/matze/Webordner/wp/wp-content/plugins/layotter/core/Errors.php on line 18
Call Stack
#	Time	Memory	Function	Location
1	0.0036	380872	{main}( )	.../post-new.php:0
2	1.7052	43727912	include( '/Users/matze/Webordner/wp/wp-admin/admin-footer.php' )	.../post-new.php:79
3	1.7060	43728936	do_action( )	.../admin-footer.php:73
4	1.7060	43729312	WP_Hook->do_action( )	.../plugin.php:465
5	1.7060	43729312	WP_Hook->apply_filters( )	.../class-wp-hook.php:310
6	1.7145	43771968	Layotter\Assets::backend_localization( )	.../class-wp-hook.php:286
7	1.7971	43866904	Layotter\Components\Post->get_available_element_types_meta( )	.../Assets.php:76
8	1.7976	43867920	RH_Accordion->get_type_meta( )	.../Post.php:154
9	1.7980	43876856	Layotter\Structures\ElementTypeMeta->__construct( )	.../Element.php:178
10	1.7983	43880128	Layotter\Errors::invalid_argument_recoverable( )	.../ElementTypeMeta.php:62
11	1.7983	43880224	trigger_error ( )	.../Errors.php:18

In one module the only occurrence of the value description is in the ACF fields while using acf_add_local_field_group.

MatzeKitt avatar May 03 '19 06:05 MatzeKitt