Hi @sankari,
Thank you for getting in touch!
Regarding your concern about the error message and file path, it seems that the issue originates from the HivePress plugin and is not related to Icegram Express.
I recommend reaching out to HivePress directly to share your issue with them, as they should be able to assist you further.
Best regards,
Hello @anupamkhatua,
Thanks very much for replying so soon and sorry to bother you.
I shared the issue with HivePress here now and will close this topic when resolved.
Thank you.
Hello again @anupamkhatua ,
HivePress support replied that they inspected the code part where the error is triggered and this may be an Icegram Express issue. And they asked me to share these details with you:
“The error occurs because the core WordPress filter hook add_meta_boxes
stops passing the second parameter $post
(or passes null
) on Icegram Express pages for some reason add_meta_boxes – Hook | Developer.WordPress.org Please check if Icegram Express somehow uses/affects this filter hook, it should pass the post object as a second parameter as documented in WordPress, maybe one of the callback functions added to this hook affects this.
On our side, we’ll add another check if the post object is not null
(in the next update), but it shouldn’t be null
in any case as per the WordPress documentation.”
Please review and advise. Thanks!
Hi @sankari,
Hope you doing well!
Currently Express plugin need to trigger ‘add_meta_boxes’ action hook to render WordPress meta boxes on its workflow page.
Since workflow are stored in custom table and aren’t stored in the way other WordPress post or custom post types are stored, therefore loading workflow as a post won’t be possible currently.
Therefore before accessing post, if HivePress team can add checks for post is not null
in their plugin that would be great.
I hope this information is helpful!
Let me know if you need further assistance.
Hi @anupamkhatua,
Thank you for this info which I shared with the HivePress team. I will keep you posted.
@anupamkhatua
FYI – HivePress informed that they will include this in their next release. I will close this topic when resolved.
Hi @sankari ,
Hope you’re doing well.
Since the inquiry has been resolved, I’m closing this thread for now. If you have any further questions or issues related to the plugin, feel free to reopen it.
You can open a new thread from here. We will be happy to assist you further.
Thank you!
Hi @shubhanshukandani ,
The new HivePress release is not available yet but since the issue is on there side it makes sense to me to close this thread.
Thank you and have a good weekend!
Just for info: The latest HivePress release 1.7.11 fixed this issue.