will look in to it. Thanks
Can you please paste the shortcode you are using here?
Thread Starter
swcomm
(@swcomm)
Sure – using two shortcodes. First one below is on a page using Beaver Builder – not sure if that’s relevant tho!
[netsposts include_blog='4' include_post='7647,7648,7649,7650' shortcode_id='current' hide_source='true' taxonomy='hall-of-fame, 2022' taxonomy_type='category' must_include_categories='true' thumbnail='true' order_by_acf='lastname' use_layout='inline' wrap_title_start='<h5>' wrap_title_end='</h5>' include_link_title='true' read_more_text='Full Bio & Video ']
[netsposts include_blog='4' shortcode_id='hofgallery' hide_source='true' taxonomy='hall-of-fame' hide_excerpt='true' list='40' limit='200' paginate='true' mid_size='1' end_size='1' thumbnail='true' order_by_acf='lastname' use_layout='inline' wrap_title_start='<h6>' wrap_title_end='</h6>' include_link_title='true' read_more_text=' ']
@swcomm
With the parameter order_by_acf='lastname'
please add asc or desc to it so it looks like this:
order_by_acf='lastname asc' or order_by_acf='lastname desc' and see if that gets rid of the PHP 8 error.
Thread Starter
swcomm
(@swcomm)
Thank you, looks like that did resolve the warning. I didn’t use a sort order in the shortcode because the sort is using asc, so didn’t think I’d need it.
It has to do with WordPress 8. Just add asc or desc on all ordering and it should be fine.