Media Library & CSS Customizer Errors

Hello Themeco support,

The website that we have this theme installed on is hosted by a third party, so for a time we thought it was some configuration issue on their end. We copied the site to our own hosting to diagnose and found that the issues persisted there as well.

We cannot access the media library, though we can still use the multifile media library uploader. It just shows the loading widget forever.

When we change the CSS in the customizer in any way and attempt to save by clicking the ‘Publish’ button, we get this errror:
image
The strange thing is that it actually is saving.

I have credentials for you, but I do not see the means by which to add them so that they are not public.

Thank you.

Hello Jim,

Thanks for writing in! This seems to have a fatal error when saving. Please do basic troubleshooting with the most common issues. You can check out the guide here:

If nothing is helping, provide us access to your site so that we can check your settings. Please create a secure note with the following info:
– Link to your site
– WordPress Admin username / password

To know how to create a secure note, please check this out: https://theme.co/docs/getting-support

Best Regards.

Hello Ruenel,

I went through the basic troubleshooting procedures and discovered that it must be the child theme. However, the child theme has not been changed since we started working with this website, and it did not throw any fatal errors for the first several weeks.

The child theme is comprised of very few, relatively short, files. I did not see anything in them that looks like it has to do with CSS, the media library, or anything else that is throwing errors. I have provided credentials to the site in the secure note for this post. I would appreciate it if you could take a look and help me resolve these errors.

I attempted to update a plugin with the theme active and got this error message:

Update Failed: var $ = jQuery; $(window).scroll(function() { var distanceFromTop = $(this).scrollTop(); var requiredDistanceFromTop = $('.inner-hero').height() + $('.serp-values').height() + $('.class-description-section').height() + 200; if (distanceFromTop >= requiredDistanceFromTop) { $('.sticky-classes-nav').addClass('sticky'); } else { $('.sticky-classes-nav').removeClass('sticky'); } }); {"success":true,"data":{"update":"plugin","slug":"envira-gallery-lite","oldVersion":"Version 1.7.8.8","newVersion":"Version 1.7.8.9","plugin":"envira-gallery-lite\/envira-gallery-lite.php","pluginName":"Envira Gallery Lite"}}

Oddly, just as with the CSS, the plugin updated successfully.

Thank you for your assistance.

Good news - We found the issue and resolved it.

One of our developers had added a function to the child themes’ functions.php file. It had a syntax error that broke the connection with the Rest API. This was reported by the initial configuration of the Redirection plugin (https://wordpress.org/plugins/redirection/).

Fixing that error resolved all of the reported issues.

I no longer need assistance for this issue.

Thank you.

Glad it’s working now and thanks for sharing!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.