I am getting this warning messages when displaying profilegrid blog tags page
Warning: Attempt to read property “post_author” on null in?../wp-content/plugins/profilegrid-user-profiles-groups-and-communities/public/class-profile-magic-notifications.php?on line?406
Warning: Attempt to read property “post_title” on null in?../wp-content/plugins/profilegrid-user-profiles-groups-and-communities/public/class-profile-magic-notifications.php?on line?407
Warning: Attempt to read property “post_type” on null in?../wp-content/plugins/profilegrid-user-profiles-groups-and-communities/public/class-profile-magic-notifications.php?on line?416
Warning: Attempt to read property “post_type” on null in?../wp-content/plugins/profilegrid-user-profiles-groups-and-communities/public/class-profile-magic-notifications.php?on line?296
Sometimes, reloading page warning disappear.
Thanks for your help
]]>I’ve been using the plugin for a while now, but the issue I’m having has started to annoy me a lot. Whenever I close my browser, it automatically logouts from my website and I cannot find the Remember Me option in the login page to prevent it.
How can I add the option to the page?
]]>Thanks for this great plugin!
I can’t activate the Mailpoet extension. The following message is displayed at the top of the extensions page: “Since you have deactivated MailPoet, the ProfileGrid MailPoet Extension has been automatically deactivated. You will have to manually turn it on when you activate MailPoet.”
What can I do to fix this problem?
]]>I am currently working on a website and would like to offer the following options. However, I was unable to discover an alternative to implement. Would you be able to help me meet these requirements?
1) I’d like to add people to a group as they join. However, the membership fee should differ depending on the choice they select from the registration form. Is it possible to achieve this?
2) I have various fields in the registration form, such as “Skill,” “Location,” “Area,” etc. Can I use these values to filter members on the member listings page? Something like members from Dublin who are skilled swimmers? I utilized the [profilegrid_group gid="ID"]
shortcode to show the listing on the “Our members” page.
3) Will it be able to utilize the same filtering on the map that shows the user’s location? This means that when I filter by location Dublin and skill swimming, the map should also show the location of the members returned by the filtering.
Thank you in advance. I look forward to hearing your response. Please let me know if there is another way I can provide additional information. I appreciate your time.
]]>profile grid does not even show up in the dash board., please advise…
]]>On my blog I am using EventPrime version 3.3.9 and ProfileGrid 5.7.3 with the ProfileGrid EventPrime Integration version 3.2.
When I go to the new Events tab on my default user group page, I get the following PHP error:
Warning: Invalid argument supplied for foreach() in C:\Users\harri\Local Sites\cousinsquorum-com\app\public\wp-content\plugins\profilegrid-user-profiles-groups-and-communities-profilegrid-eventprime-integration\public\class-profilegrid-eventprime-integration-public.php on line 170
I do not know if this is because of an error I made or a problem with the integration, but I would be grateful for any suggestions.
Thank you.
]]>as described in your developer documentation.
Each function is basic, just three lines of code to print lines of text, the User ID and the Primary Group ID passed in through the action hook, Just enough to experiment with:
function cq_before_profile_section_tab_demo($uid) {
echo "<p>Before Profile Section Tab!</p>";
echo "<p>My User ID is $uid</p>";
//echo "<p>My Primary Group ID is $primary_gid</p>"
}
add_action( 'profile_magic_before_profile_section_tab', 'cq_before_profile_section_tab_demo');
Notice the function takes only $uid as an argument, and not $uid and $primary_gid.
This is because if I define the function to take 2 arguments as specified on the Before Profile Section Tab page <https://profilegrid.co/developer-documentation/actions/profile_magic_before_profile_section_tab/>, I get fatal errors.
Here are the relevant error logs:
2023-11-11T01:34:01+00:00 Too few arguments to function cq_after_profile_section_content_demo(), 1 passed in C:\Users\harri\Local Sites\cousinsquorum-com\app\public\wp-includes\class-wp-hook.php on line 326 and exactly 2 expected
2023-11-11T01:34:01+00:00 Uncaught ArgumentCountError: Too few arguments to function cq_after_profile_section_content_demo(), 1 passed in C:\Users\harri\Local Sites\cousinsquorum-com\app\public\wp-includes\class-wp-hook.php on line 326 and exactly 2 expected in C:\Users\harri\Local Sites\cousinsquorum-com\app\public\wp-content\plugins\insert-headers-and-footers\includes\class-wpcode-snippet-execute.php(287) : eval()'d code:1
Stack trace:
#0 C:\Users\harri\Local Sites\cousinsquorum-com\app\public\wp-includes\class-wp-hook.php(326): cq_after_profile_section_content_demo(1)
#1 C:\Users\harri\Local Sites\cousinsquorum-com\app\public\wp-includes\class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#2 C:\Users\harri\Local Sites\cousinsquorum-com\app\public\wp-includes\plugin.php(517): WP_Hook->do_action(Array)
#3 C:\Users\harri\Local Sites\cousinsquorum-com\app\public\wp-content\plugins\profilegrid-user-profiles-groups-and-communities\public\class-profile-magic-public.php(3710): do_action('profile_magic_a...', 1, '1')
#4 C:\Users\harri
2023-11-11T01:40:09+00:00 Too few arguments to function cq_before_profile_section_tab_demo(), 1 passed in C:\Users\harri\Local Sites\cousinsquorum-com\app\public\wp-includes\class-wp-hook.php on line 326 and exactly 2 expected
2023-11-11T01:40:09+00:00 Uncaught ArgumentCountError: Too few arguments to function cq_before_profile_section_tab_demo(), 1 passed in C:\Users\harri\Local Sites\cousinsquorum-com\app\public\wp-includes\class-wp-hook.php on line 326 and exactly 2 expected in C:\Users\harri\Local Sites\cousinsquorum-com\app\public\wp-content\plugins\insert-headers-and-footers\includes\class-wpcode-snippet-execute.php(287) : eval()'d code:1
Stack trace:
#0 C:\Users\harri\Local Sites\cousinsquorum-com\app\public\wp-includes\class-wp-hook.php(326): cq_before_profile_section_tab_demo(1)
#1 C:\Users\harri\Local Sites\cousinsquorum-com\app\public\wp-includes\class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#2 C:\Users\harri\Local Sites\cousinsquorum-com\app\public\wp-includes\plugin.php(517): WP_Hook->do_action(Array)
#3 C:\Users\harri\Local Sites\cousinsquorum-com\app\public\wp-content\plugins\profilegrid-user-profiles-groups-and-communities\public\class-profile-magic-public.php(3668): do_action('profile_magic_b...', 1, '1')
#4 C:\Users\harri\Local
When I leave out $primary_gid as an argument, the functions work perfectly fine.
As things stand, the way it’s working is not the end of the world; I should be able to implement the functionality I need with just my $gid. But I would still like to know the source of my problems and determine what, if anything, I’m doing wrong.
Thanks.
EDIT:
I forgot to add my details:
WordPress 6.4.1
PHP 7.4.3.0
MySQL 8.0.16
Twenty Twenty-Three Theme v 1.3
ProfileGrid 5.6.6
WPCode Lite 2.1.5
Developing on Local Version 8.0.2+6509 on Windows 11 Home v 22H2
]]>