Resolve Error “Hash.update: Missing a required argument” on Activation of Theme

Scenario

Upon activation of a customized theme or extension, it is possible to receive an error with a message “Hash.update: Missing a required argument..”. This error mainly resembles the impact of changes that have not been fully implemented.

Solution

In order to resolve this error, .tmp files that have been created upon changes in the root folder of the theme have to be deleted, and the manifest.json file reconfigured. 

1. Find the 0byte .tmp files and delete them from the theme folder   1. Navigate to Documents Files > SuiteScripts > Deploy_Extensions
   2. Click the theme folder for which the error occurred on activation 
   3. Navigate to assets > img folder
   4. Edit 0byte .tmp files
   5. Hover over Actions button, and click Delete 
Note:Repeat for all 0byte tmp files.

2. Edit the manifest.json to remove the paths of 0byte .tmp files

   1. Navigate to Documents Files > SuiteScripts > Deploy_Extensions
   2. Click the theme folder for which the error occurred on activation 
   3. Edit manifest.json file
   4. Under MEDIA ITEM field click Edit
   5. Find and delete the designated paths for the .tmp files that have been deleted on Step 1
   6. Click Save

Leave a comment

Your email address will not be published. Required fields are marked *