Not sure if this is the best place for this, but I'm getting a couple of php errors when viewing the Virtual Posts configuration page (this is a local install):
Error 1:( ! ) Notice: Undefined index: sort_direction in /Users/jBook/Sites/michaelsand.dev.cc/wp-content/plugins/airpress/lib/chetmac/AirpressVirtualPostsAdmin.php on line 375
Viewing this in the actual AirpressVirtualPostsAdmin.php file:
And I notice 'airpress_admin_vp_render_element_select__direction' has an extra underscore. If I remove that, error 1 resolves (but the drop-down menu disappears altogether on the config page in my WP admin dashboard). I still see error 2, below.
Error 2:Notice: Undefined index: sort_direction in /Users/jBook/Sites/michaelsand.dev.cc/wp-content/plugins/airpress/lib/chetmac/AirpressVirtualPostsAdmin.php on line 375
I'm pretty sure this is basically trying to get the Sort Direction drop-down to populate with the sort options; error 1 corresponds to the "Ascending (A-Z)" option, while error 2 corresponds to the "Descending (Z-A)" option.
I'm pretty awful with php, so none of my futzing has worked. Any chance you might know what's going on here? Thanks so much!
(Edited to add: the ReadMe suggests this an older release of AirPress; I'm using the latest 1.1.62 with WP v5.4, so not sure if this is part of the issue.)
Not sure if this is the best place for this, but I'm getting a couple of php errors when viewing the Virtual Posts configuration page (this is a local install):
Error 1:
( ! ) Notice: Undefined index: sort_direction in /Users/jBook/Sites/michaelsand.dev.cc/wp-content/plugins/airpress/lib/chetmac/AirpressVirtualPostsAdmin.php on line 375
Viewing this in the actual AirpressVirtualPostsAdmin.php file:
And then if I scroll up in that same file, I also see:
And I notice
'airpress_admin_vp_render_element_select__direction'
has an extra underscore. If I remove that, error 1 resolves (but the drop-down menu disappears altogether on the config page in my WP admin dashboard). I still see error 2, below.Error 2:
Notice: Undefined index: sort_direction in /Users/jBook/Sites/michaelsand.dev.cc/wp-content/plugins/airpress/lib/chetmac/AirpressVirtualPostsAdmin.php on line 375
I'm pretty sure this is basically trying to get the Sort Direction drop-down to populate with the sort options; error 1 corresponds to the "Ascending (A-Z)" option, while error 2 corresponds to the "Descending (Z-A)" option.
I'm pretty awful with php, so none of my futzing has worked. Any chance you might know what's going on here? Thanks so much!
(Edited to add: the ReadMe suggests this an older release of AirPress; I'm using the latest 1.1.62 with WP v5.4, so not sure if this is part of the issue.)