• Resolved sankari

    (@sankari)


    Hi,

    I see a PHP warning on each one of the workflow detail pages:

    Warning: Attempt to read property "ID" on null in /home/httpd/vhosts/[domain.tld]/httpdocs/wp-content/plugins/hivepress/includes/components/class-admin.php on line 1138

    Icegram Express: 5.7.47
    PHP: 8.2.25

    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Anupam Khatua

    (@anupamkhatua)

    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,

    Thread Starter sankari

    (@sankari)

    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.

    Thread Starter sankari

    (@sankari)

    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.www.remarpro.com 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!

    Plugin Support Anupam Khatua

    (@anupamkhatua)

    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.

    Thread Starter sankari

    (@sankari)

    Hi @anupamkhatua,

    Thank you for this info which I shared with the HivePress team. I will keep you posted.

    Thread Starter sankari

    (@sankari)

    @anupamkhatua

    FYI – HivePress informed that they will include this in their next release. I will close this topic when resolved.

    Plugin Contributor Shubhanshu Kandani

    (@shubhanshukandani)

    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!

    Thread Starter sankari

    (@sankari)

    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!

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.