Satellite 4

Dear IT committee,

We have been experiencing issues with our website since Friday. When visiting certain sites, like our main page, we get the following message with a blue screen: The website encountered an unexpected error. Please try again later.
 
According to the logs, the problem is this: 
EntityMetadataWrapperException: Invalid data value given. Be sure it matches the required data type and format. Value at esn_country()->code: array ( ). in EntityMetadataWrapper->set() (line 122 of /home/.sites/407/site1951719/web/satellite/profiles/satellite/modules/contrib/entity/includes/entity.wrapper.inc).
 
Any help with solving this issue would be greatly appreciated.
 
Thank you in advance.
 
Best wishes, 
Gréta
Answers

Hi,

Thank you, our original problem seems to have been solved, I followed the steps on updating Satellite, and even though I still couldn't run /update.php because it says "The jQuery Validate library could not be found", at least our site is more or less working right now, and we don't get the EntityMetadataWrapperException error anymore. :)
Still, there are some parts missing, like "List of webforms (and other contents)" is unavailable, but I am guessing that those are connected to the error we get at /update.php, so if you have some tips on how to solve the missing library problem, that would be appreciated.

Best regards,
Gréta

Hi,

I am still looking into a solution so sorry about keeping you waiting. I will let you know here as soon as I have a solution for you to try.

Kaspars,

So the previous problem is gone, but now when going to /update.php it simply says "The site is not working, HTTP error 500", even though all the files are from satellite.esn.org, with the exception of the /sites folder.

Hi,
 
Sorry to bother again, but our site is still not working.
 
I created a backup and tried updating through /update.php, but now ran into the error:
Clientside Validation The jQuery Validate library could not be found.
But when I check it, I can see the library under /sites/all/modules/
Any ideas on how to deal with this? Could this be related to the original problem?
 
Thanks in advance.
 
Gréta

I've changed the PHP to 7.2 on our online hosting, but it doesn't seem like it made a difference.
Is there a way we can solve this without updating Satellite? I am not really sure how to do that and wouldn't want to mess up everything even more right before the semester starts.
But of course, if there is no other way, please let me know, and I'll do my best. 

Gréta

The server for your hosting is currently set to use PHP version 7.3. There is some legacy code in ESN Satellite that is not executable by PHP 7.3 so I recommend switching to PHP 7.2 in your hosting for now. If you use online hosting, this should in the administration panel of your site. If you use your own server, let me know if you need assistance in installing multiple versions of PHP.

I see you have an older version of ESN Satellite; I would recommend installing the latest version from satellite.esn.org (remember to back up your current installation beforehand). Outdated code will increase the likelihood of errors on the page.

 

 

Hi,

There are a couple of sites that do this, for example these ones:
https://www.esnelte.hu/
https://www.esnelte.hu/events/coordinator-open-call-vice-president-event-coordinator

Under Configuration -> People -> CAS settings -> Roles the IT Committee is added, as for the ESN Satellite -> Galaxy integration, that page also throws an error, saying that we need to update our Drupal, so I can't check whether the access is given or not.
Our current Drupal core version is 7.67, do we have to update it in order for you to be able to access the admin panel? If yes, could you help with that please? I found the guide on how to do that, but have no idea how to do a backup and such.
We don't have a wpa currently, and I have zero experience with Drupal, so I am sorry if the answers to my questions are obvious.

Best regards, 
Gréta

Hello,

Could you please share here a URL of a page that causes an issue? Would it also be possible to double-check that in the Satellite settings the IT Committee has permissions to access the admin panel of the site so that we can take a deeper look into the logs?

Kaspars