@hat99 We fixed this issue in plugin version 1.5.16 please check and let us know.
Thread Starter
Evgeny
(@hat99)
@subratamal The problem remains. Nothing has changed.
Thread Starter
Evgeny
(@hat99)
@subratamal , I couldn’t handle this problem alone. I need your help, please.
Thread Starter
Evgeny
(@hat99)
The update was released, but my problem was ignored.
Thread Starter
Evgeny
(@hat99)
Dear developers,
To resolve this error, simply add an additional check for the existence of the “$post_name” property within the “$item” object. The correct line with this additional check is shown below:
if (
is_object( $item )
&& isset( $item->post_name ) // Add the property existence check here
&& ‘my-wallet’ === $item->post_name
&& get_post_meta( $item->ID, ‘_show_wallet_icon_amount’, true )
)
This will prevent the error that occurs due to accessing a non-existent object property.
I’ve fixed this in my content, but I’m sure that after any update, the source code will revert to its previous state, and line 127 will need to be changed again.
If possible, please check and implement it at your level.
Thank you.