Navigation überspringen

[Warten auf die Bestätigung des Benutzers] Creating View, adding Single View Field and hangs

This support ticket is created vor 3 days, 21 hours. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Zeitzone des Unterstützers: Asia/Kolkata (GMT+05:30)

Dieses Thema enthält 16 Antworten, hat 1 Stimme.

Zuletzt aktualisiert von Minesh vor 1 day, 1 hour.

Assistiert von: Minesh.

Author
Artikel
#2866486

OK, so I removed Toolset Blocks as presumably I need Views in order to do loops.

Version of Views is 3.6.24

Edited Test View page and single field is STILL not working.

Out of curiosity, reading between the lines, I tried to add a single field block outside of the view. Perhaps my thinking is incorrect and you can't do this, but I got the message "The editor has encountered an unexpected error." But I'm still getting nowhere fast.

#2866594

Minesh
Unterstützer

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

I've created the following test page and I try to add the single field block within block view loop:
- versteckter Link

I noticed that when I try to add the "Single Field" block, it shows the following JS error in the browser's console:

TypeError: Cannot read properties of null (reading 'text')
    at default (<em><u>versteckter Link</u></em>)
    at <em><u>versteckter Link</u></em>
    at <em><u>versteckter Link</u></em>
    at Array.forEach (<anonymous>)
    at n (<em><u>versteckter Link</u></em>)
    at Object.emit (<em><u>versteckter Link</u></em>)
    at s (<em><u>versteckter Link</u></em>)
    at <em><u>versteckter Link</u></em>
    at <em><u>versteckter Link</u></em>
    at <em><u>versteckter Link</u></em>

if you check - the script conflict happens and the file belongs the Rank Math SEO plugin.

So, you have couple of ways to fix it:
- Either contat rank math support and ask them how you can fix this.
- Disable rank math seo plugin
- use the following code which I've added to your current theme's functions.php file:

add_filter( 'script_loader_tag', function ( $tag, $handle ) {

	if ( is_admin() && 'rank-math-content-ai' === $handle ) {
		return '';
	}

	return $tag;

}, 9999, 2 );

Check with Rank math SEO support if they have any other better resolution to resolve the conflict.