ylliX - Online Advertising Network

JWTRefreshTokenBundle tries to set user password to null

I have Symfony 6.4, and I’ve installed lexik/jwt-authentication-bundle (it works normal) and then gesdinet/jwt-refresh-token-bundle But somehow, when I try to use jwt_login, something in Symfony tries to set user password to null. It runs in transaction INSERT INTO refresh_tokens (refresh_token, username, valid) VALUES (?, ?, ?) and then UPDATE user SET password = ? WHERE […]

Tanstack Query with Expo and React Native useQuery().error returning always null

i’m building an Expo/React Native app, with app folder structure (instead of App.tsx main file), but I’m trying to implement Tanstack Query in my project, but I’m getting the error object returned always as null even if I explicitly throw the error in my queryFn property. My app/(auth)/login.tsx import { KeyboardAvoidingView, Text } from “react-native”; […]

log4net ERROR: {code: 0, message: ‘An internal error occurred during your request!’, details: null, validationErrors: null} in .NET core

I tried to login after adding log4net to create logs in the Postgres SQL Database but, failed to login. The issue is “ERROR: {code: 0, message: ‘An internal error occurred during your request!’, details: null, validationErrors: null}” from the console. This code is in log4net.config file, I tried using below code for datetime parameter to […]

NestJS Swagger – How to resolve TypeError: Cannot read properties of null (reading ‘name’)

I’m encountering the following error while setting up Swagger in my NestJS project: /app/node_modules/@nestjs/swagger/dist/services/schema-object-factory.js:189 let schemaObjectName = trueMetadataType.name; ^ TypeError: Cannot read properties of null (reading ‘name’) at SchemaObjectFactory.createNotBuiltInTypeReference (/app/node_modules/@nestjs/swagger/dist/services/schema-object-factory.js:189:49) at SchemaObjectFactory.createSchemaMetadata (/app/node_modules/@nestjs/swagger/dist/services/schema-object-factory.js:297:25) at SchemaObjectFactory.mergePropertyWithMetadata (/app/node_modules/@nestjs/swagger/dist/services/schema-object-factory.js:137:21) … This error occurs when generating the Swagger document in my main.ts file: async function bootstrap() { const app […]