Shapely theme and WPGlobus not working for widgets

I download and install the Shapely theme and load demo data then I install WPGlobus to have a multilingual site.
In Widget the “[Shapley]Parallax Section For Front Page#” don’t work with WPGlobus
Activating WPGlobus the edit filed disappear and there isn’t the option to set the text

For other section like Meta all work fine

I enclose a snap shoot of what happen

Do you have a solution for this problem?

Hi @paoloabacus,

I hope you are well today and thank you for your question.

This is shapely theme related question so you should have posted it in the shapely theme forum here https://colorlibsupport.com/c/shapely/

Not to worry i have moved it to shapely theme forum now.

Can you check the JavaScript console for errors when you face this issue?

In Chrome go to “Tools -> Developer Tools” and in Firefox you can go to “Tools -> Web Developer -> Console”

Find information about how to open JavaScript browser console :

Let me know what JavaScript errors if any you are getting when you face this issue.

Also could you please share me your site URL where it’s happening so that i can troubleshoot it?

Kind Regards,
Movin

The error are this:

GET https://colorlib.com/shapely/wp-content/uploads/sites/12/2016/03/macbook-preview-shapely.png 404 ()
widgets.php:3688

GET https://colorlib.com/shapely/wp-content/uploads/sites/12/2016/03/shapely-portfolio.png 404 ()
widgets.php:3790

This errors are in wp-admin when editing the widgets
The site is www.logico3d.com

I see that the input filed code is hidden when I use WpGlobus
I enclose a snap shoot of the code so you can figure what happen

Would you mind if i log in to your site and do some troubleshooting? If this is ok then could you please share me your site log in details privately by checking the option “Set as private reply” when replying to this topic?

I found a temporary solution by WPGlobus team: they tell me to paste this code into functions.php of the theme

add_filter( 'wpglobus_enabled_pages', 'filter__wpglobus_enabled_pages' );
function filter__wpglobus_enabled_pages( $enabled_pages ) {
	foreach( $enabled_pages as $key=>$page ) {
		if ( $page == 'widgets.php' ) {
			unset( $enabled_pages[$key] );
			break;
		}
	}
	return $enabled_pages;
}

I do so and then I can put text like this {:it}En text{:}{:en}En text{:} to use language switch

The I try to remove the code in functions.php and now the edit text filed is still active but there is no more the WPGlobus global like eg. in WPGlobus widget just above the [Shapely] Parallax Section For FrontPage

You can use this account to wp-admin of my site to take a look:
user: Movin
pwd: colorlib

Tell me what you found for a solution
Otherwise the fix from WPGlobus resolve the problem

If the fix provided by WPGlobus has resolved the issue for you then no need to debug it more.

The fix actually prohibits some part of WPGlobus working on the page widgets.php which is not required there.