Hello guys
I have been trying a few things on Frontity and so far it’s really cool, but now i have a problem, i expect is something you can help me!
The problem:
I have a multi-site ( one for the spanish language and one for the english language ), recently I’m trying trying to get the head tags that Yoast-seo generates, your plugin is installed in wordpress and the package it’s also installed and updated in the Frontity settings. The thing is that in the spanish site this is working, but its not working on the english site, this is the error:
The error message
TypeError: newBase.replace is not a function
at getNewLink (webpack-internal:///./node_modules/@frontity/head-tags/src/utils/index.ts:13:535)
at transformLink (webpack-internal:///./node_modules/@frontity/head-tags/src/utils/index.ts:13:793)
at eval (webpack-internal:///./node_modules/@frontity/head-tags/src/utils/index.ts:29:38)
at Array.map ()
at eval (webpack-internal:///./node_modules/@frontity/head-tags/src/utils/index.ts:28:64)
at Proxy.map ()
at useFrontityLinks (webpack-internal:///./node_modules/@frontity/head-tags/src/utils/index.ts:19:17)
at getCurrentHeadTags (webpack-internal:///./node_modules/@frontity/head-tags/src/utils/index.ts:39:8)
at Proxy.eval (webpack-internal:///./node_modules/@frontity/head-tags/src/index.ts:4:221)
at eval (webpack-internal:///./node_modules/@frontity/head-tags/src/components/index.tsx:10:88)
system info:
System:
- OS: macOS Mojave 10.14.6
- CPU: (8) x64 Intel® Core™ i5-8279U CPU @ 2.40GHz
- Memory: 26.53 MB / 8.00 GB
- Shell: 5.3 - /bin/zsh
Binaries:
- Node: 12.18.0 - /usr/local/bin/node
- npm: 6.14.4 - /usr/local/bin/npm
Browsers:
- Chrome: 84.0.4147.135
- Edge: Not Found
- Firefox: 79.0
- Safari: 13.1
npmPackages:
- @frontity/core: ^1.7.3 => 1.7.3
- @frontity/head-tags: ^1.0.5 => 1.0.5
- @frontity/html2react: ^1.3.4 => 1.3.4
- @frontity/mars-theme: ./packages/mars-theme => 1.4.3
- @frontity/tiny-router: ^1.2.1 => 1.2.1
- @frontity/wp-source: ^1.8.1 => 1.8.1
- bitacora-theme: file:packages/bitacora-theme => 1.0.0
- frontity: ^1.10.1 => 1.10.1
- frontity-contact-form-7: ^0.1.7 => 0.1.7
npmGlobalPackages:
- frontity: Not Found
- npx: Not Found
The repo : https://github.com/santiago-wq/bitacora.git
The Api esp: http://wp.developbitacora.com/wp-json
The Api eng: http://wp.developbitacora.com/en/wp-json
Vercel: developbitacora.com/
I suppose i have something wrong in the second site, i’m actually working on local, but i put it on vercel. If i need to put more info here just say and i will try to provide it.