Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: resolve importer failing on setting JSON import #4097

Closed
1 of 2 tasks
Benunc opened this issue May 8, 2019 · 0 comments · Fixed by #4098
Closed
1 of 2 tasks

fix: resolve importer failing on setting JSON import #4097

Benunc opened this issue May 8, 2019 · 0 comments · Fixed by #4098
Assignees

Comments

@Benunc
Copy link
Member

Benunc commented May 8, 2019

Bug Report

User Story

As a site admin, I want to be able to import a give settings JSON so that I don't have to manually set all the settings.

Current Behavior

Give Settings don't import, fatal error.

Expected Behavior

I expect the settings JSON to import

Bug Type

  • This bug describes functionality that once worked as expected in some previous version

Steps to Reproduce

  1. On a fresh install, attempt to import the attached JSON file (attached to the Slack ping for this ticket)
  2. Merge or replace, doesn't matter
  3. It will fail with this error:
stack trace
Fatal error: Maximum function nesting level of '256' reached, aborting! in /app/public/wp-includes/functions.php on line 2466
--

1 | 0.0001 | 369688 | {main}( ) | .../edit.php:0
2 | 0.0016 | 370360 | require_once( '/app/public/wp-admin/admin.php' ) | .../edit.php:10
3 | 0.5300 | 5263832 | do_action( ) | .../admin.php:253
4 | 0.5300 | 5264208 | WP_Hook->do_action( ) | .../plugin.php:465
5 | 0.5300 | 5264208 | WP_Hook->apply_filters( ) | .../class-wp-hook.php:310
6 | 0.5300 | 5265336 | Give_Admin_Settings->output( ) | .../class-wp-hook.php:286
7 | 0.5359 | 5319952 | Give_Admin_Settings::save( ) | .../class-admin-settings.php:249
8 | 0.5359 | 5320032 | do_action( ) | .../class-admin-settings.php:119
9 | 0.5359 | 5320408 | WP_Hook->do_action( ) | .../plugin.php:465
10 | 0.5359 | 5320408 | WP_Hook->apply_filters( ) | .../class-wp-hook.php:310
11 | 0.5359 | 5321536 | Give_Import_Core_Settings->save( ) | .../class-wp-hook.php:286
12 | 0.5360 | 5321568 | Give_Import_Core_Settings::upload_widget_settings_file( ) | .../class-give-import-core-settings.php:422
13 | 0.5360 | 5324624 | wp_handle_upload( ) | .../class-give-import-core-settings.php:461
14 | 0.5360 | 5324624 | _wp_handle_upload( ) | .../file.php:930
15 | 0.5360 | 5325320 | wp_check_filetype_and_ext( ) | .../file.php:800
16 | 0.5421 | 5326920 | apply_filters( ) | .../functions.php:2651
17 | 0.5421 | 5327320 | WP_Hook->apply_filters( ) | .../plugin.php:208
18 | 0.5421 | 5328824 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
19 | 0.5421 | 5328824 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
20 | 0.5458 | 5329672 | apply_filters( ) | .../functions.php:2651
21 | 0.5458 | 5330072 | WP_Hook->apply_filters( ) | .../plugin.php:208
22 | 0.5459 | 5330824 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
23 | 0.5459 | 5330824 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
24 | 0.5475 | 5332368 | apply_filters( ) | .../functions.php:2651
25 | 0.5476 | 5332768 | WP_Hook->apply_filters( ) | .../plugin.php:208
26 | 0.5476 | 5333520 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
27 | 0.5476 | 5333520 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
28 | 0.5496 | 5335064 | apply_filters( ) | .../functions.php:2651
29 | 0.5496 | 5335464 | WP_Hook->apply_filters( ) | .../plugin.php:208
30 | 0.5496 | 5336216 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
31 | 0.5496 | 5336216 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
32 | 0.5530 | 5337760 | apply_filters( ) | .../functions.php:2651
33 | 0.5530 | 5338160 | WP_Hook->apply_filters( ) | .../plugin.php:208
34 | 0.5530 | 5338912 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
35 | 0.5530 | 5338912 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
36 | 0.5582 | 5340456 | apply_filters( ) | .../functions.php:2651
37 | 0.5582 | 5340856 | WP_Hook->apply_filters( ) | .../plugin.php:208
38 | 0.5582 | 5341608 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
39 | 0.5582 | 5341608 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
40 | 0.5598 | 5343472 | apply_filters( ) | .../functions.php:2651
41 | 0.5598 | 5344192 | WP_Hook->apply_filters( ) | .../plugin.php:208
42 | 0.5598 | 5344944 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
43 | 0.5598 | 5344944 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
44 | 0.5612 | 5346488 | apply_filters( ) | .../functions.php:2651
45 | 0.5612 | 5346888 | WP_Hook->apply_filters( ) | .../plugin.php:208
46 | 0.5612 | 5347640 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
47 | 0.5612 | 5347640 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
48 | 0.5633 | 5349184 | apply_filters( ) | .../functions.php:2651
49 | 0.5633 | 5349584 | WP_Hook->apply_filters( ) | .../plugin.php:208
50 | 0.5633 | 5350976 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
51 | 0.5633 | 5350976 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
52 | 0.5654 | 5352520 | apply_filters( ) | .../functions.php:2651
53 | 0.5655 | 5352920 | WP_Hook->apply_filters( ) | .../plugin.php:208
54 | 0.5655 | 5353672 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
55 | 0.5655 | 5353672 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
56 | 0.5690 | 5355216 | apply_filters( ) | .../functions.php:2651
57 | 0.5691 | 5355616 | WP_Hook->apply_filters( ) | .../plugin.php:208
58 | 0.5691 | 5356368 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
59 | 0.5691 | 5356368 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
60 | 0.5731 | 5357912 | apply_filters( ) | .../functions.php:2651
61 | 0.5731 | 5358312 | WP_Hook->apply_filters( ) | .../plugin.php:208
62 | 0.5731 | 5359064 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
63 | 0.5731 | 5359064 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
64 | 0.5756 | 5360608 | apply_filters( ) | .../functions.php:2651
65 | 0.5757 | 5361008 | WP_Hook->apply_filters( ) | .../plugin.php:208
66 | 0.5757 | 5361760 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
67 | 0.5757 | 5361760 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
68 | 0.5773 | 5363304 | apply_filters( ) | .../functions.php:2651
69 | 0.5773 | 5363704 | WP_Hook->apply_filters( ) | .../plugin.php:208
70 | 0.5774 | 5364456 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
71 | 0.5774 | 5364456 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
72 | 0.5789 | 5366640 | apply_filters( ) | .../functions.php:2651
73 | 0.5789 | 5367680 | WP_Hook->apply_filters( ) | .../plugin.php:208
74 | 0.5789 | 5368432 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
75 | 0.5789 | 5368432 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
76 | 0.5803 | 5369976 | apply_filters( ) | .../functions.php:2651
77 | 0.5803 | 5370376 | WP_Hook->apply_filters( ) | .../plugin.php:208
78 | 0.5803 | 5371128 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
79 | 0.5803 | 5371128 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
80 | 0.5822 | 5372672 | apply_filters( ) | .../functions.php:2651
81 | 0.5822 | 5373072 | WP_Hook->apply_filters( ) | .../plugin.php:208
82 | 0.5822 | 5375104 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
83 | 0.5822 | 5375104 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
84 | 0.5851 | 5376648 | apply_filters( ) | .../functions.php:2651
85 | 0.5852 | 5377048 | WP_Hook->apply_filters( ) | .../plugin.php:208
86 | 0.5852 | 5377800 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
87 | 0.5852 | 5377800 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
88 | 0.5878 | 5379344 | apply_filters( ) | .../functions.php:2651
89 | 0.5878 | 5379744 | WP_Hook->apply_filters( ) | .../plugin.php:208
90 | 0.5879 | 5380496 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
91 | 0.5879 | 5380496 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
92 | 0.5955 | 5382040 | apply_filters( ) | .../functions.php:2651
93 | 0.5955 | 5382440 | WP_Hook->apply_filters( ) | .../plugin.php:208
94 | 0.5955 | 5383192 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
95 | 0.5955 | 5383192 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
96 | 0.5977 | 5384736 | apply_filters( ) | .../functions.php:2651
97 | 0.5977 | 5385136 | WP_Hook->apply_filters( ) | .../plugin.php:208
98 | 0.5977 | 5385888 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
99 | 0.5977 | 5385888 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
100 | 0.6001 | 5387432 | apply_filters( ) | .../functions.php:2651
101 | 0.6001 | 5387832 | WP_Hook->apply_filters( ) | .../plugin.php:208
102 | 0.6002 | 5388584 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
103 | 0.6002 | 5388584 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
104 | 0.6060 | 5390128 | apply_filters( ) | .../functions.php:2651
105 | 0.6060 | 5390528 | WP_Hook->apply_filters( ) | .../plugin.php:208
106 | 0.6062 | 5391280 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
107 | 0.6062 | 5391280 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
108 | 0.6089 | 5392824 | apply_filters( ) | .../functions.php:2651
109 | 0.6089 | 5393224 | WP_Hook->apply_filters( ) | .../plugin.php:208
110 | 0.6089 | 5393976 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
111 | 0.6089 | 5393976 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
112 | 0.6108 | 5395520 | apply_filters( ) | .../functions.php:2651
113 | 0.6108 | 5395920 | WP_Hook->apply_filters( ) | .../plugin.php:208
114 | 0.6108 | 5396672 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
115 | 0.6108 | 5396672 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
116 | 0.6125 | 5398216 | apply_filters( ) | .../functions.php:2651
117 | 0.6125 | 5398616 | WP_Hook->apply_filters( ) | .../plugin.php:208
118 | 0.6125 | 5399368 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
119 | 0.6125 | 5399368 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
120 | 0.6142 | 5400912 | apply_filters( ) | .../functions.php:2651
121 | 0.6142 | 5401312 | WP_Hook->apply_filters( ) | .../plugin.php:208
122 | 0.6142 | 5402064 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
123 | 0.6142 | 5402064 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
124 | 0.6158 | 5403608 | apply_filters( ) | .../functions.php:2651
125 | 0.6159 | 5404008 | WP_Hook->apply_filters( ) | .../plugin.php:208
126 | 0.6159 | 5404760 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
127 | 0.6159 | 5404760 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
128 | 0.6188 | 5406304 | apply_filters( ) | .../functions.php:2651
129 | 0.6188 | 5406704 | WP_Hook->apply_filters( ) | .../plugin.php:208
130 | 0.6188 | 5407456 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
131 | 0.6188 | 5407456 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
132 | 0.6203 | 5409000 | apply_filters( ) | .../functions.php:2651
133 | 0.6204 | 5409400 | WP_Hook->apply_filters( ) | .../plugin.php:208
134 | 0.6204 | 5410152 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
135 | 0.6204 | 5410152 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
136 | 0.6231 | 5412976 | apply_filters( ) | .../functions.php:2651
137 | 0.6231 | 5414656 | WP_Hook->apply_filters( ) | .../plugin.php:208
138 | 0.6232 | 5415408 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
139 | 0.6232 | 5415408 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
140 | 0.6255 | 5416952 | apply_filters( ) | .../functions.php:2651
141 | 0.6255 | 5417352 | WP_Hook->apply_filters( ) | .../plugin.php:208
142 | 0.6255 | 5418104 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
143 | 0.6255 | 5418104 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
144 | 0.6271 | 5419648 | apply_filters( ) | .../functions.php:2651
145 | 0.6271 | 5420048 | WP_Hook->apply_filters( ) | .../plugin.php:208
146 | 0.6272 | 5423360 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
147 | 0.6272 | 5423360 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
148 | 0.6297 | 5424904 | apply_filters( ) | .../functions.php:2651
149 | 0.6297 | 5425304 | WP_Hook->apply_filters( ) | .../plugin.php:208
150 | 0.6298 | 5426056 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
151 | 0.6298 | 5426056 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
152 | 0.6359 | 5427600 | apply_filters( ) | .../functions.php:2651
153 | 0.6360 | 5428000 | WP_Hook->apply_filters( ) | .../plugin.php:208
154 | 0.6362 | 5428752 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
155 | 0.6362 | 5428752 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
156 | 0.6416 | 5430296 | apply_filters( ) | .../functions.php:2651
157 | 0.6416 | 5430696 | WP_Hook->apply_filters( ) | .../plugin.php:208
158 | 0.6416 | 5431448 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
159 | 0.6416 | 5431448 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
160 | 0.6446 | 5432992 | apply_filters( ) | .../functions.php:2651
161 | 0.6446 | 5433392 | WP_Hook->apply_filters( ) | .../plugin.php:208
162 | 0.6447 | 5434144 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
163 | 0.6447 | 5434144 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
164 | 0.6463 | 5435688 | apply_filters( ) | .../functions.php:2651
165 | 0.6464 | 5436088 | WP_Hook->apply_filters( ) | .../plugin.php:208
166 | 0.6464 | 5436840 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
167 | 0.6464 | 5436840 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
168 | 0.6480 | 5438384 | apply_filters( ) | .../functions.php:2651
169 | 0.6480 | 5438784 | WP_Hook->apply_filters( ) | .../plugin.php:208
170 | 0.6480 | 5439536 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
171 | 0.6480 | 5439536 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
172 | 0.6499 | 5441080 | apply_filters( ) | .../functions.php:2651
173 | 0.6499 | 5441480 | WP_Hook->apply_filters( ) | .../plugin.php:208
174 | 0.6499 | 5442232 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
175 | 0.6499 | 5442232 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
176 | 0.6517 | 5443776 | apply_filters( ) | .../functions.php:2651
177 | 0.6517 | 5444176 | WP_Hook->apply_filters( ) | .../plugin.php:208
178 | 0.6518 | 5444928 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
179 | 0.6518 | 5444928 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
180 | 0.6532 | 5446472 | apply_filters( ) | .../functions.php:2651
181 | 0.6533 | 5446872 | WP_Hook->apply_filters( ) | .../plugin.php:208
182 | 0.6533 | 5447624 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
183 | 0.6533 | 5447624 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
184 | 0.6552 | 5449168 | apply_filters( ) | .../functions.php:2651
185 | 0.6553 | 5449568 | WP_Hook->apply_filters( ) | .../plugin.php:208
186 | 0.6553 | 5450320 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
187 | 0.6553 | 5450320 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
188 | 0.6585 | 5451864 | apply_filters( ) | .../functions.php:2651
189 | 0.6585 | 5452264 | WP_Hook->apply_filters( ) | .../plugin.php:208
190 | 0.6585 | 5453016 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
191 | 0.6585 | 5453016 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
192 | 0.6603 | 5454560 | apply_filters( ) | .../functions.php:2651
193 | 0.6603 | 5454960 | WP_Hook->apply_filters( ) | .../plugin.php:208
194 | 0.6603 | 5455712 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
195 | 0.6603 | 5455712 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
196 | 0.6620 | 5457256 | apply_filters( ) | .../functions.php:2651
197 | 0.6621 | 5457656 | WP_Hook->apply_filters( ) | .../plugin.php:208
198 | 0.6621 | 5458408 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
199 | 0.6621 | 5458408 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
200 | 0.6639 | 5459952 | apply_filters( ) | .../functions.php:2651
201 | 0.6639 | 5460352 | WP_Hook->apply_filters( ) | .../plugin.php:208
202 | 0.6639 | 5461104 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
203 | 0.6639 | 5461104 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
204 | 0.6657 | 5462648 | apply_filters( ) | .../functions.php:2651
205 | 0.6657 | 5463048 | WP_Hook->apply_filters( ) | .../plugin.php:208
206 | 0.6657 | 5463800 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
207 | 0.6657 | 5463800 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
208 | 0.6686 | 5465344 | apply_filters( ) | .../functions.php:2651
209 | 0.6686 | 5465744 | WP_Hook->apply_filters( ) | .../plugin.php:208
210 | 0.6687 | 5466496 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
211 | 0.6687 | 5466496 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
212 | 0.6702 | 5468040 | apply_filters( ) | .../functions.php:2651
213 | 0.6702 | 5468440 | WP_Hook->apply_filters( ) | .../plugin.php:208
214 | 0.6703 | 5469192 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
215 | 0.6703 | 5469192 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
216 | 0.6736 | 5470736 | apply_filters( ) | .../functions.php:2651
217 | 0.6737 | 5471136 | WP_Hook->apply_filters( ) | .../plugin.php:208
218 | 0.6737 | 5471888 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
219 | 0.6737 | 5471888 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
220 | 0.6778 | 5473432 | apply_filters( ) | .../functions.php:2651
221 | 0.6778 | 5473832 | WP_Hook->apply_filters( ) | .../plugin.php:208
222 | 0.6779 | 5474584 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
223 | 0.6779 | 5474584 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
224 | 0.6797 | 5476128 | apply_filters( ) | .../functions.php:2651
225 | 0.6798 | 5476528 | WP_Hook->apply_filters( ) | .../plugin.php:208
226 | 0.6798 | 5477280 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
227 | 0.6798 | 5477280 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
228 | 0.6816 | 5478824 | apply_filters( ) | .../functions.php:2651
229 | 0.6816 | 5479224 | WP_Hook->apply_filters( ) | .../plugin.php:208
230 | 0.6816 | 5479976 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
231 | 0.6816 | 5479976 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
232 | 0.6844 | 5481520 | apply_filters( ) | .../functions.php:2651
233 | 0.6844 | 5481920 | WP_Hook->apply_filters( ) | .../plugin.php:208
234 | 0.6844 | 5482672 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
235 | 0.6845 | 5482672 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
236 | 0.6901 | 5484216 | apply_filters( ) | .../functions.php:2651
237 | 0.6901 | 5484616 | WP_Hook->apply_filters( ) | .../plugin.php:208
238 | 0.6902 | 5485368 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
239 | 0.6902 | 5485368 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
240 | 0.6946 | 5486912 | apply_filters( ) | .../functions.php:2651
241 | 0.6946 | 5487312 | WP_Hook->apply_filters( ) | .../plugin.php:208
242 | 0.6946 | 5488064 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
243 | 0.6946 | 5488064 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
244 | 0.6962 | 5489608 | apply_filters( ) | .../functions.php:2651
245 | 0.6962 | 5490008 | WP_Hook->apply_filters( ) | .../plugin.php:208
246 | 0.6963 | 5490760 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
247 | 0.6963 | 5490760 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
248 | 0.6979 | 5492304 | apply_filters( ) | .../functions.php:2651
249 | 0.6979 | 5492704 | WP_Hook->apply_filters( ) | .../plugin.php:208
250 | 0.6979 | 5493456 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
251 | 0.6979 | 5493456 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
252 | 0.6994 | 5495000 | apply_filters( ) | .../functions.php:2651
253 | 0.6994 | 5495400 | WP_Hook->apply_filters( ) | .../plugin.php:208
254 | 0.6994 | 5496152 | Give_Import_Core_Settings::filetype_mod( ) | .../class-wp-hook.php:288
255 | 0.6994 | 5496152 | wp_check_filetype_and_ext( ) | .../class-give-import-core-settings.php:504
256 | 0.6994 | 5496152 | wp_check_filetype( ) | .../functions.php:2499

(essentially it looks like it's looping on the filettype check)

Related

5bb7145
https://secure.helpscout.net/conversation/843952539/38586?folderId=848135

Acceptance Criteria

  • the importer works to import JSON files for Give settings.

Environment

WordPress System Info ### WordPress Environment ###

Home URL: http://samdestroysthings.local
Site URL: http://samdestroysthings.local
WP Version: 5.1.1
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: –
WP Cron: ✔
Language: en_US
Permalink Structure: /%postname%/
Show on Front: posts
Table Prefix Length: wp_
Table Prefix Length: 3
Table Prefix Status: Acceptable
Admin AJAX: Accessible
Registered Post Statuses: publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, refunded, failed, revoked, cancelled, abandoned, processing, preapproval

Server Environment

Hosting Provider: DBH: localhost, SRV: samdestroysthings.local
TLS Connection: Connection uses TLS 1.2
TLS Connection: Probably Okay
Server Info: nginx/1.10.1
PHP Version: 7.1.4
PHP Post Max Size: 1,000 MB
PHP Time Limit: 900
PHP Max Input Vars: 3000
PHP Max Upload Size: 1,000 MB
cURL Version: ❌ 7.38.0, OpenSSL/1.0.1t - We recommend a minimum cURL version of 7.40.
SUHOSIN Installed: –
MySQL Version: 5.6.34
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
gzip: ✔
GD Graphics Library: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔

Give Configuration

Give Version: 2.4.6
Give Cache: Enabled
Database Updates: All DB Updates Completed.
Database Tables: ✔ wp_give_donors - 1.0✔ wp_give_donormeta - 1.0✔ wp_give_comments - 1.0✔ wp_give_commentmeta - 1.0✔ wp_give_sessions - 1.0✔ wp_give_logs - 1.0✔ wp_give_logmeta - 1.0✔ wp_give_formmeta - 1.0✔ wp_give_sequential_ordering - 1.0✔ wp_give_donationmeta - 1.0
Give Cache: Enabled
Give Cache: ✔New Donation✔Donation Receipt✔New Offline Donation✔Offline Donation Instructions✔New User Registration✔User Registration Information✔Donor Note✔Email access
Upgraded From: 2.4.5
Test Mode: Enabled
Currency Code: EUR
Currency Position: Before
Decimal Separator: .
Thousands Separator: ,
Success Page: http://samdestroysthings.local/donation-confirmation/
Failure Page: http://samdestroysthings.local/donation-failed/
Donation History Page: http://samdestroysthings.local/donation-history/
Give Forms Slug: /donations/
Enabled Payment Gateways: Test Donation, Offline Donation
Default Payment Gateway: Test Donation
PayPal IPN Verification: Enabled
PayPal IPN Notifications: N/A
Donor Email Access: Enabled

Active Give Add-ons

Other Active Plugins

Inactive Plugins

Give - Form Field Manager: by GiveWP – 1.4.3

Theme

Name: Twenty Nineteen
Version: 1.3
Author URL: https://wordpress.org/
Child Theme: No – If you're modifying Give on a parent theme you didn't build personally, then we recommend using a child theme. See: How to Create a Child Theme

ravinderk added a commit that referenced this issue May 9, 2019
fix: resolve importer failing on setting JSON import #4097
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants