You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we noticed the following php notices / warning in our log file:
PHP Notice Trying to get property of non-object in .... slack/includes/post-type.php on line 464
PHP Notice: Uninitialized string offset: 0 in ... slack/includes/post-type.php on line 469
PHP Warning: Illegal string offset 'active' in ... slack/includes/post-type.php on line 469
On line 464 there is the get_current_screen() function, which is defined on most admin pages, but not all. Here - if I'm right - it exists, but returns with NULL.
On line 469 the get_post_meta() function will return as string, but the code checks it as an array.
Hi,
we noticed the following php notices / warning in our log file:
PHP Notice Trying to get property of non-object in .... slack/includes/post-type.php on line 464
PHP Notice: Uninitialized string offset: 0 in ... slack/includes/post-type.php on line 469
PHP Warning: Illegal string offset 'active' in ... slack/includes/post-type.php on line 469
On line 464 there is the get_current_screen() function, which is defined on most admin pages, but not all. Here - if I'm right - it exists, but returns with NULL.
On line 469 the get_post_meta() function will return as string, but the code checks it as an array.
Thanks,
cc @lkraav
The text was updated successfully, but these errors were encountered: