llbbl
June 28, 2022, 1:11am
1
After upgrading to 5x the /portal (member stuff) isn’t working.
Using Cloudflare cache but this wasn’t a problem before upgrading. I had to configured properly.
The portal signup and account pages are Blank in the admin
i have a slightly modified Digest theme 1.0. I didn’t change any of the portal/membership junk from base theme.
1 Like
llbbl
June 28, 2022, 1:31am
2
it doesn’t work after disabling cache and switching to Casper
llbbl
June 28, 2022, 1:41am
3
[Error] [Portal] Failed to initialize:
TypeError: undefined is not an object (evaluating ‘o.portal_plans.includes’)
C — helpers.js:254
(anonymous function) — api.js:479
u — runtime.js:63
(anonymous function) — runtime.js:294
d — asyncToGenerator.js:3
l — asyncToGenerator.js:29
promiseReactionJob
(anonymous function) (portal.min.js:2:489704)
u (portal.min.js:2:167539)
(anonymous function) (portal.min.js:2:167324)
d (portal.min.js:2:185443)
l (portal.min.js:2:185683)
promiseReactionJob
llbbl
June 28, 2022, 2:01am
4
in the products Tables everything looks like it’s set. anyone know what o.portal_plans.includes
is expecting?
llbbl
June 28, 2022, 2:27am
5
It’s trying to load stuff from and getting 404 …
admin/ghost/api/content/tiers/?key=25dee5f32bae66efe224deeac2&limit=all&include=monthly_price,yearly_price,benefits
and removing admin/ returns JSON
ghost/api/content/tiers/?key=25dee5f32bae66efe224deeac2&limit=all&include=monthly_price,yearly_price,benefits
this seems like something in Core needs to be fixed?
llbbl
June 28, 2022, 2:29am
6
i changed admin url in config json from /admin to /ghost … restarted the Service … no luck
I really do not want to go digging through code to find where it’s getting the API urls.
llbbl
June 28, 2022, 2:52am
7
Ok creating a Custom integration called Portal fixed the API issues.
Then looked at docs again and Admin URL needed to be base url without /ghost.
1 Like
system
Closed
September 26, 2022, 2:52am
8
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.