Title: aschunk's Replies | WordPress.org

---

# aschunk

  [  ](https://wordpress.org/support/users/aschunk/)

 *   [Profile](https://wordpress.org/support/users/aschunk/)
 *   [Topics Started](https://wordpress.org/support/users/aschunk/topics/)
 *   [Replies Created](https://wordpress.org/support/users/aschunk/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/aschunk/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/aschunk/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/aschunk/engagements/)
 *   [Favorites](https://wordpress.org/support/users/aschunk/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[User Profile Builder - Beautiful User Registration Forms, User Profiles & User Role Editor] Problem with Betheme template](https://wordpress.org/support/topic/problem-with-betheme-template/)
 *  Thread Starter [aschunk](https://wordpress.org/support/users/aschunk/)
 * (@aschunk)
 * [10 months, 2 weeks ago](https://wordpress.org/support/topic/problem-with-betheme-template/#post-18657811)
 * [https://snipboard.io/M2H5qk.jpg](https://snipboard.io/M2H5qk.jpg)
 * When I select the options to only allow the page to be accessible to users with
   that role, it doesn’t work properly. If I access it without logging in, I get
   a message telling me to log in, but I also get the page content. In other words,
   it doesn’t block it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GiveWP - Donation Plugin and Fundraising Platform] Critical Error when editing duplicate campaign](https://wordpress.org/support/topic/critical-error-when-editing-duplicate-campaign/)
 *  [aschunk](https://wordpress.org/support/users/aschunk/)
 * (@aschunk)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/critical-error-when-editing-duplicate-campaign/#post-18628175)
 * I have the same issue, this is the error:
 * **Fatal error**: Uncaught TypeError: Give\DonationForms\V2\Repositories\DonationFormsRepository::
   getById(): Argument #1 ($donationFormId) must be of type int, null given, called
   in /home/mireto/public_html/wp-content/plugins/give/src/Campaigns/Models/Campaign.
   php on line 76 and defined in /home/mireto/public_html/wp-content/plugins/give/
   src/DonationForms/V2/Repositories/DonationFormsRepository.php:25 Stack trace:#
   0 /home/mireto/public_html/wp-content/plugins/give/src/Campaigns/Models/Campaign.
   php(76): Give\DonationForms\V2\Repositories\DonationFormsRepository->getById(
   NULL) #1 /home/mireto/public_html/wp-content/plugins/give/src/DonationForms/V2/
   Endpoints/ListDonationForms.php(140): Give\Campaigns\Models\Campaign->defaultForm()#
   2 /home/mireto/public_html/wp-includes/rest-api/class-wp-rest-server.php(1292):
   Give\DonationForms\V2\Endpoints\ListDonationForms->handleRequest(Object(WP_REST_Request))#
   3 /home/mireto/public_html/wp-includes/rest-api/class-wp-rest-server.php(1125):
   WP_REST_Server->respond_to_request(Object(WP_REST_Request), ‘/give-api/v2/ad…’,
   Array, NULL) #4 /home/mireto/public_html/wp-includes/rest-api.php(586): WP_REST_Server-
   >dispatch(Object(WP_REST_Request)) #5 /home/mireto/public_html/wp-content/plugins/
   give/src/DonationForms/V2/DonationFormsAdminPage.php(212): rest_do_request(Object(
   WP_REST_Request)) #6 /home/mireto/public_html/wp-content/plugins/give/src/DonationForms/
   V2/DonationFormsAdminPage.php(114): Give\DonationForms\V2\DonationFormsAdminPage-
   >preloadDonationForms() #7 [internal function]: Give\DonationForms\V2\DonationFormsAdminPage-
   >loadScripts(‘give_forms_page…’) #8 /home/mireto/public_html/wp-content/plugins/
   give/src/Helpers/Hooks.php(43): call_user_func_array(Array, Array) #9 /home/mireto/
   public_html/wp-includes/class-wp-hook.php(324): Give\Helpers\Hooks::Give\Helpers\{
   closure}(‘give_forms_page…’) #10 /home/mireto/public_html/wp-includes/class-wp-
   hook.php(348): WP_Hook->apply_filters(NULL, Array) #11 /home/mireto/public_html/
   wp-includes/plugin.php(517): WP_Hook->do_action(Array) #12 /home/mireto/public_html/
   wp-admin/admin-header.php(123): do_action(‘admin_enqueue_s…’, ‘give_forms_page…’)#
   13 /home/mireto/public_html/wp-admin/admin.php(240): require_once(‘/home/mireto/
   pu…’) #14 /home/mireto/public_html/wp-admin/edit.php(10): require_once(‘/home/
   mireto/pu…’) #15 {main} thrown in **/home/mireto/public_html/wp-content/plugins/
   give/src/DonationForms/V2/Repositories/DonationFormsRepository.php** on line **
   25**

Viewing 2 replies - 1 through 2 (of 2 total)