Comment custom post error users with lower permission than Editor
-
Hi
I have weird error. If user with lower permission than Editor (its author, contributor and subscriber) send the comment in custom post made by ACF after sending see PHP errors like this below:
Warning: Attempt to read property "post_type" on null in <_hosting_path_>public_html/wp-content/plugins/da-reactions-premium/classes/DaReactions/Frontend.php on line 48
Warning: Attempt to read property "post_type" on null in <_hosting_path_>public_html/wp-content/plugins/da-reactions-premium/classes/DaReactions/Frontend.php on line 49
Warning: Attempt to read property "ID" on null in <_hosting_path_>public_html/wp-content/plugins/da-reactions-premium/classes/DaReactions/Frontend.php on line 49
Warning: Attempt to read property "post_type" on null in <_hosting_path_>public_html/wp-content/plugins/da-reactions-premium/classes/DaReactions/Frontend.php on line 50
Warning: Attempt to read property "ID" on null in <_hosting_path_>public_html/wp-content/plugins/da-reactions-premium/classes/DaReactions/Frontend.php on line 50
Warning: Cannot modify header information - headers already sent by (output started at <_hosting_path_>public_html/wp-content/plugins/da-reactions-premium/classes/DaReactions/Frontend.php:48) in <_hosting_path_>public_html/wp-includes/pluggable.php on line 1435
Warning: Cannot modify header information - headers already sent by (output started at <_hosting_path_>public_html/wp-content/plugins/da-reactions-premium/classes/DaReactions/Frontend.php:48) in <_hosting_path_>public_html/wp-includes/pluggable.php on line 1438In options of this plugin I have selected allow reaction for this custom post but disabled for comments because I don’t need this.
Do you know any solution for this?
- The topic ‘Comment custom post error users with lower permission than Editor’ is closed to new replies.