
Wordpress fatal error help needed
- or -
Post a project like this1505
$10
- Posted:
- Proposals: 17
- Remote
- #3441218
- Awarded
WordPress CMS Expert | API's & Integrations | Security | Themes, Plugins and Bespoke Functionality | PHP | HTML5 | JS | SQL | Full Stack
10+ Years Expert Full Stack Developer: MERN | Python | AI Agents | Technical Project/Program Manager

Digital Web & AI Automation Agency | Expert in WordPress, Shopify & Custom Development



⭐ TOP RATED ⭐ Graphic Designer| WordPress / WIX | 3D Architecture | Video Editing |Photoshop Expert

Professional Digital Marketer | Web Development | IOS and Android Developer | WordPress | React Native | Video Editor | Graphic Designing

24/7 WordPress Expert | WooCommerce | Gravity forms |PHP |Elementor | DiVi | JS | jQuery | HTML | CSS
PPH #1 "Top Rated" Service Provider in Development & IT : Wordpress, Shopify, Magento, Squarespace, ZOHO, WHMCS, Salesforce, Vtiger, Learndash, Moodle

Expert WordPress Developer | Shopify, Webflow, Squarespace, Wix Specialist | HTML Email Signature & Newsletter Pro | Tech Solutions

1300020301554925510972181736227480433061745455394349163949771762537323510572
Description
Experience Level: Entry
Hi!
I am a beginner with Wordpress.
I am now stuck with an error. See file attached, or this:
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/www/html/wordpress/wp-includes/wp-db.php:1688 Stack trace: #0 /var/www/html/wordpress/wp-includes/wp-db.php(632): wpdb->db_connect() #1 /var/www/html/wordpress/wp-includes/load.php(558): wpdb->__construct('root', 'password', 'test_db', 'db') #2 /var/www/html/wordpress/wp-settings.php(124): require_wp_db() #3 /var/www/html/wordpress/wp-config.php(96): require_once('/var/www/html/w...') #4 /var/www/html/wordpress/wp-load.php(50): require_once('/var/www/html/w...') #5 /var/www/html/wordpress/wp-admin/admin.php(34): require_once('/var/www/html/w...') #6 /var/www/html/wordpress/wp-admin/themes.php(10): require_once('/var/www/html/w...') #7 {main} thrown in /var/www/html/wordpress/wp-includes/wp-db.php on line 1688
This happened after I created a new folder in themes.
I added 2 files: front-page.php, and blog_posts.php
I then added code from a pdf-file (I do not have that code here, but I can get it again if needed)
I use docker to handle php-admin, apache server, Wordpress, etc.
Need help with this asap! Thanks.
I am a beginner with Wordpress.
I am now stuck with an error. See file attached, or this:
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/www/html/wordpress/wp-includes/wp-db.php:1688 Stack trace: #0 /var/www/html/wordpress/wp-includes/wp-db.php(632): wpdb->db_connect() #1 /var/www/html/wordpress/wp-includes/load.php(558): wpdb->__construct('root', 'password', 'test_db', 'db') #2 /var/www/html/wordpress/wp-settings.php(124): require_wp_db() #3 /var/www/html/wordpress/wp-config.php(96): require_once('/var/www/html/w...') #4 /var/www/html/wordpress/wp-load.php(50): require_once('/var/www/html/w...') #5 /var/www/html/wordpress/wp-admin/admin.php(34): require_once('/var/www/html/w...') #6 /var/www/html/wordpress/wp-admin/themes.php(10): require_once('/var/www/html/w...') #7 {main} thrown in /var/www/html/wordpress/wp-includes/wp-db.php on line 1688
This happened after I created a new folder in themes.
I added 2 files: front-page.php, and blog_posts.php
I then added code from a pdf-file (I do not have that code here, but I can get it again if needed)
I use docker to handle php-admin, apache server, Wordpress, etc.
Need help with this asap! Thanks.
Fredrik P.
100% (56)Projects Completed
74
Freelancers worked with
51
Projects awarded
31%
Last project
18 Aug 2024
Sweden
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies