• ERROR: Target class [PassportAPI\ContactManagementController] does not exist. {“exception”:”[object]

    ERROR: Target class [PassportAPI\ContactManagementController] does not exist. {“exception”:”[object]

    Error: Solution: Step 1: Namespace in Controller File: Make sure the directory structure in your ContactManagementController.php file corresponds to the namespace declaration at the beginning of the code. The appropriate namespace ought to be: Step 2: Composer Dump-Autoload: Run the following command again to make sure Composer’s autoloader is up to date: Step 3: Check…

  • No Application Encryption Key Has Been Specified.
    , ,

    No Application Encryption Key Has Been Specified.

    Error Solution: In my case, I also needed to reset the cached config files: And Problem has been resolved

  • How To Install and Use Composer on Ubuntu

    How To Install and Use Composer on Ubuntu

    Introduction Composer is a widely used PHP dependency management solution designed primarily to make project dependency installation and updates easier. It will determine which additional packages are required for a given project and install them for you using the relevant versions based on the project specifications. Composer is also frequently used for bootstrapping new projects…

  • Updating Laravel TrustProxies Middleware after Framework Version Upgrade

    Updating Laravel TrustProxies Middleware after Framework Version Upgrade

    It’s crucial to take care of modifications in middleware configurations when updating Laravel from version 5.7 to version 10 in order to guarantee your application runs well. the problem with the TrustProxies middleware and offer a fix to update the code so that it is compatible with Laravel 10. Changes in the framework may make…

  • ProFTPD fail : UserPassword Missing argument

    ProFTPD fail : UserPassword Missing argument

    Error: Solution: There appears to be an unknown configuration directive ‘function’ on line 44 of the ProFTPD configuration file (/opt/lampp/etc/proftpd.conf), according to the error message. To remedy this, take these actions: Step 1: Open the ProFTPD configuration file in a text editor. For example, you can use nano: Step 2: Navigate to line 44 and…

  • xampplib: line 22: netstat: command not found

    xampplib: line 22: netstat: command not found

    When I try to start my xampp in the server I found these errors: Error: How can I solve this problem with xampplib and how can I get the xampp to work? Solution It seems that your xampp instance is complaining about a lack of netstat command. netstat is a part of the net-tools package, so run…

  • How to change php7.4 to 8.2 version in linux

    How to change php7.4 to 8.2 version in linux

    You must follow certain steps, depending on your Linux distribution, to upgrade PHP from version 7.4.3 to 8.2 on a Linux machine. The instructions for CentOS/Red Hat and Ubuntu/Debian are listed below: For Ubuntu Step 1: Add the PHP repository for PHP 8.2 Step 2: Install PHP 8.2: Step 3: Disable the current PHP version…

  • How to change username(root) the phpmyadmin in ubuntu server
    , ,

    How to change username(root) the phpmyadmin in ubuntu server

    On an Ubuntu server, you must adjust both the phpMyAdmin configuration and the MySQL user’s settings in order to alter the root user’s username. The steps to do that are as follows 3. In MySQL, change the root user’s username to the new desired username. Replace new_username with your preferred username: 4. After renaming the…

  • How to set password for access the phpmyadmin in ubuntu 
    , ,

    How to set password for access the phpmyadmin in ubuntu 

    You can use these instructions to create a password in Ubuntu to access phpMyAdmin. phpMyAdmin is installed by default; if not, you may install it with the following command: Now, let’s set a password for phpMyAdmin: Open a terminal on your Ubuntu server. Step 1: And run this command Step 2: Restart XAMPP:  Step 3:…

  • List of My Blogs Written in October 2023

    List of My Blogs Written in October 2023

    1. C:\xampp\htdocs\example app10\config\cache.php:92 2. Envoy raise Class ‘Barryvdh\Debugbar\ServiceProvider’ not found? 3. What is Container class in Flutter 4. To enable extensions, verify that they are enabled in your .ini files:- C:\xampp\php\php.ini 5. MySQL Basic Database Administration Commands 6. Laravel-PHP Fatal error: During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Illuminate\Support\Collection::offsetExists($key) 7. 11 best github…

  • How to Install COMPOSER on your Ubuntu and run phpmyadmin
    ,

    How to Install COMPOSER on your Ubuntu and run phpmyadmin

    Composer is a well-liked PHP dependency management solution designed primarily to make project dependency installation and upgrades easier. It will determine whether additional packages are needed for a given project and install them for you using the relevant versions based on the project specifications. Additionally, Composer is frequently used to bootstrap new applications built on…

  • How to Install XAMPP on your Ubuntu

    How to Install XAMPP on your Ubuntu

    What is XAMPP Cross-platform (X), Apache (A) server, MariaDB (M), PHP (P), and Perl (P) are the acronyms for XAMPP. It functions essentially as a local host or local server and was created by Apache Friends. Before uploading it to the remote web server or computer, you can install this software on your PC and…

  • XAMPP: Starting Apache…fail.XAMPP: Another web server is already running.

    XAMPP: Starting Apache…fail.XAMPP: Another web server is already running.

    Error: Solution: Step 1: Run this command Step 2: Run this command Step 3: Run this command

  • Target class [Fideloper\Proxy\TrustProxies] does not exist.

    Target class [Fideloper\Proxy\TrustProxies] does not exist.

    I upgraded Laravel 5.5 to Laravel version 10. I am getting below error on my page Class “Fideloper\Proxy\TrustProxies” not found Error: Solution: Our local artificial intelligence developed this response on its own. Consider it an attempt to find a one-time solution to your issue. It won’t reply to any further messages. Because Laravel 10 no…

  • What is MaterialApp class in Flutter
    ,

    What is MaterialApp class in Flutter

    MaterialApp Class: In a flutter, MaterialApp is a preconfigured class or widget. It is probably a flutter app’s primary or central component. A wrapper for other Material Widgets is offered by the MaterialApp widget. We have access to every other widget and component that the Flutter SDK offers. The types of widgets that may be…

  • BottomNavigationBar Widget in Flutter
    , , ,

    BottomNavigationBar Widget in Flutter

    To display the bottom of an application, utilise the BottonNavigationBar widget. Depending on how the programme is designed, it may have a variety of elements such as text, icons, or both that point in different directions. Its purpose is to facilitate the user’s navigation to various portions of the programme as a whole. Constructors: Properties:

  • What is Container class in Flutter
    , ,

    What is Container class in Flutter

    In Flutter, the Container class is a handy widget that integrates typical widget painting, positioning, and size. We can store one or more widgets in a container class and arrange them on the screen as we see fit. In essence, a container is just a box used to hold things. A margin delineates the current…

  • What is widgets in Flutter?
    ,

    What is widgets in Flutter?

    Using a single code base, Flutter is Google’s UI toolkit for creating stunning natively built iOS and Android apps. Widgets are the foundational element of Flutter applications, and we begin by building any application with them. Widgets specify how their current configuration and status should appear in their display. Among many other widgets, it has…

  • MySQL Basic Database Administration Commands
    , , ,

    MySQL Basic Database Administration Commands

    A database is an electronically stored collection of organised data. Even in the days before computers, our predecessors understood the concept of a database, but building and maintaining one was an extremely labor-intensive task. Imagine how difficult it would have been to look for every employee whose salary was less than $10,000 in a manual…

  • Laravel-PHP Fatal error: During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Illuminate\Support\Collection::offsetExists($key)

    Laravel-PHP Fatal error: During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Illuminate\Support\Collection::offsetExists($key)

    Error PHP Fatal error: During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Illuminate\Support\Collection::offsetExists($key)should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\myhospitalnow\mhn-core-ms\vendor\laravel\framework\src\Illuminate\Support\Collection.php:1693Stack trace: Solution That’s a php version issue. Upgrade laravel or downgrade PHP. This article covers how to downgrade the PHP…