Year: 2022
-
Post Views: 17 1. The troupe stores the data of the play in a simple JSON file. 2. The bills they issued are also stored in a JSON file. 3. The following simple function is used to print the details of the bill. 4. Use the above data files (invoices.json and plays.json) as test input, run this code, you will…
-
Post Views: 13 1. Stylish needs to be charged, only 3 custom styles are allowed to be added. When adding the 4th style to save, it automatically jumps to its official website, adding failed. as shown in Figure 1 2. Although the price is not too expensive, like some more rigid software and services, if you need to buy dozens…
-
Post Views: 17 1. Reference:https://www.shuijingwanwq.com/2022/06/10/6593/, based on Togos/phpGitIgnore for parsing and applying .gitignore class rules implementation 2. Now expect that the /css, /images, /js, /locales, webpack.mix.js and other files in the /assets/apps/ directory should be ignored. The current configuration is as follows. as shown in Figure 1 3. This stage has not been ignored. For example: /apps/object/backtop/js/backtop.jsx, which should be…
-
Post Views: 73 1. When executing yarn, an error is reported: Failed to apply patch for package laravel-mix. patches\Laravel-mix+6.0.43.patch could not be parsed. as shown in Figure 1 2. Check the git log, the previous version of patches\Laravel-mix+6.0.43.patch is: patches\laravel-mix+6.0.48.patch. as shown in Figure 2 3. After deleting the directory: node_modules, execute again: yarn, and still report the same error.…
-
Post Views: 13 1. When executing the command: git push -u origin main, an error is reported: fatal: unable to accesshttps://github.com/shuijingwan/refactoring.git/: Error:1407742E:SSL Routines:SSL23_GET_SERVER_Hello:TLSv1 Alert Protocol Version. as shown in Figure 1 2. Reference:https://github.com/glennhickey/progressiveCactus/issues/93. Work for me on Windows: Update git to latest version (2.16) and remove old version ( 1.9). as shown in Figure 2 3. Check the version of…
-
Post Views: 16 1. In Windows 10, Git 2.34, and TortoiseGit 2.13, after the directory is renamed (the lowercase letters are changed to uppercase letters), there is no change when submitting. as shown in Figure 1 2. Manually rename it to small letters first, enter the directory after renaming, right-click – change the name, and then modify it to uppercase.…
-
Post Views: 20 1. In Lighthouse 5, an error is reported: illuminate\contracts\container\bindingResolutionException : target[Interface]Is not instantiable while building[Resolver]… as shown in Figure 1 2. Edit ThemeStoreGraphQL/Resources/GraphQL/Theme_Setting.GraphQL , comment out: TemplateSettingsData(BaseName: String!):[ThemeSection]@field(resolver: “modules\\themestoreGraphQL\\resolver\\onlinestoreetheme\\TemplateSettingsDataResolver”). Then no errors will be reported. 3. After uncommenting, check ThemeStoreGraphQL/Resolver/OnlineStoreEtheme/TemplateSettingsDateResolver.php . TemplateSchemaLoaderInterface is passed as a parameter to the constructor. 4. Check the service provider class of…
-
Post Views: 21 1. In Lighthouse 5, an error is reported: Failed to find class Modules\\ThemeStore\\Validators\\ThemeAsset\\CreateTheMeAssetInputValidator in namespaces[App\\GraphQL\\Validators]for directive @Validator. as shown in Figure 1 2. Confirm that the class Modules\\TheMeStore\\Validators\\ThemeAsset\\CreateTheMeAssetInputValidator has been migrated to Modules\\ThemeStoreGraphQL\\Validators\\ThemeAsset\\CreateTheMeAssetInputValidator . as shown in Figure 2 3. In the instruction @Validator After the class file path is adjusted to: Modules\\ThemeStoreGraphQL\\Validators\\ThemeAsset\\CreateTheMeAssetInputValidator, no more errors are…
-
Post Views: 18 1. Print the current object, its properties[architecture]=> 2.0 . as shown in Figure 1 2. The code is implemented as follows 3. Print object $wptheme, its attributes[architecture]=> 2.0. Print $wptheme->Architecture with a value of 1.0. Not as expected. as shown in Figure 2 4. Finally found the reason, the influence of the settings in the model file,…