Skip to content
Public Ticket #17713

Social media icons not dissapearing

Conversation thread

Kasper replied

Customer Reply

Hello. That makes sense.

However, I have now managed to change the file by using a File manager plugin in Wordpress.  After changing the social_widget.php file via the file manager plugin, it now works. As long as I use this environment I can just use this.

Thanks a lot for your time.

PenciDesign Supporter replied

Staff Reply

Hi,

1. All the error you've to list is related to the system enviroment, not from the theme or any plugins. The classic widgets are the old method of WordPress contacting the database directly via WP_Query.

2. As you have seen on the other tickets the social_widget.php file working properly without any issue, so please check the PHP version again,

3. Please enable the WP_DBUG mode: https://wordpress.org/support/article/debugging-in-wordpress/, then send me the debug log, I'll check and help you. In case if you want to directly support, please install the TeamViewer remote desktop software. I'll remote and check your config.

Regards,
PenciDesign.


Kasper replied

Customer Reply

Thank you for your quick response.
Installing the classic widgets doesnt fix anything when I'm trying to "uncheck" the Pinterest and the Twitter button in the social widget. Neither can I edit the .PHP file still. I still get the same errors. However now when I'm trying to edit the Widgets the boxes simply automatically checks back on after some seconds after I uncheck them, both under "Customize" and when I try under "Widgets".

PenciDesign Supporter replied

Staff Reply

Hi,

The problem because the new Widget UI Block content can't access your site via WP-JSON API.

Please try to fix this issue by installing the Classic Widget plugin here: https://wordpress.org/plugins/classic-widgets/

Regards,
PenciDesign.


Kasper started the conversation

Conversation Start

Hi.
Im trying to fix the current issue with some social media icons not dissapearing when leaving the URL fields empty.
I have found this solution:
https://pencidesign.ticksy.com//ticket/2839526/

However since I'm developing the site locally with Docker I'm having trouble accessing the files and simply change the file here:

wp-content/themes/soledad/inc/widgets/social_widget.php

When i try using the Theme editor to change the code I get the following error:
"Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP."

I have tried inspecting the Site Health Status and I get the two following critical issues:

2325915484.png


So perhaps this has something to do with me using the Wordpress locally? I have tried to deactivate all plugins but I still get the same error in the Theme editor when I'm trying to edit the code in the widget file.

Any ideas to what i can do?

Want to join this conversation or access attachments? Sign in first.