PHP warning
-
This code:
if ( function_exists( 'register_block_type' ) ) { register_block_type( 'fatcatapps/easy-pricing-tables', array( 'editor_script' => array( 'fca_ept_editor_script','jquery-ui-dialog' ), 'editor_style' => 'fca-ept-editor-style', 'style' => array( 'fca-ept-layout1-style', 'fca-ept-layout2-style' ), 'render_callback' => 'fca_ept_render', )); }
is causing this warning to appear in our error log whenever we visit the wp-admin editing screen of one of our custom post types:
PHP message: PHP Warning: explode() expects parameter 2 to be string, array given in /home/public_html/wp-includes/class.wp-dependencies.php on line 169
It appears that you’re not allowed to pass an array to
style
.
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘PHP warning’ is closed to new replies.