Open SSL Error Redux when activating a Theme

Issue Summary

I have trusted the SSL and I can see this in KeyChain as a trusted SSL…I have also included all the Salt Auth codes in the wp-config file, but it keeps throwing back this error. I can see the website in a browser, but all of these errors are displayed above it (see attachment).

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular? I have only tried one.

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser? Yes, this appears to be when I upload a theme.

Replication

I have done a fresh install a few times…Wordpress is fine but its when I activate a theme.

System Details

  • Which version of Local is being used? The latest 6.4.3+6116

  • What Operating System (OS) and OS version is being used? Mac Monterey V12.6

    • For example: macOS Catalina or Windows 10 Professional
  • Attach the Local Log. See this Help Doc for instructions on how to do so:

Security Reminder

Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

UPDATE: This is deffo a Local WP issue as I’ve uploaded the exact same Theme to a live domain and the website is works perfectly. So frustrating, as I can;t even use Local WP as intended because of these errors. Please help and come up with a solution.

Hi, if any can offer any support please…I need to get going onthis development, but running into issues being able to work on a local site.

Hi there @epilo - are you able to access your site at all? Is there a plugin that may be causing the SSL error (I see “Type Kit” mentioned there)? If so, are you able to disable it and see if the error goes away?

Are you able to get a Local site running with an SLL + default settings?

Have you reviewed these troubleshooting tips for SSL?

Let’s start with those steps!

Sam

Hey Sam,

Thank you for the response, much appreciated. I have resolved this, please read on.

The SSL is working fine and the cert is trusted, so wasn’t an issue with the SSL. I could access the site, but it was throwing back PHP errors breaking the UI. Both on the front end and the WP-Admin backend.

I have temporarily renamed the Redux Typekit Folder, found in the Redux Extensions plugin (Redux framework is a free-to-use option panel framework for WordPress themes) and is common. This stopped the errors, but that said, the theme works perfectly normal outside of Local WP…no errors.

So I have it working, but I have had to disable one folder - the Typekit Folder and ideally I need this in the theme and works fine outside of Local WP…so appears to be an issue with the code found in Typekit-client.php and Local WP.

Perhaps something to do with this code in the PHP file? As this was the error displayed on the screen breaking the UI (see previously attached file).

private function create_socket () {
	try {
		$socket = pfsockopen("ssl://typekit.com", 443, $errno, $errstr, $this->timeout);

		if ($errno != 0) {
			return false;
		}
		return $socket;
	} catch (Exception $e) {
		return false;
	}
}

I had the same issue, the salt keys weren’t created by default and I had to add them manually by following this guide on WPBeginner: (What are Security Keys in WordPress? How to use Security Keys)

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