Wordpress fatal error help needed
- or -
Post a project like this876
$10
- Posted:
- Proposals: 18
- Remote
- #3441218
- Awarded
WordPress CMS Expert | API's & Integrations | Security | Themes, Plugins and Bespoke Functionality | PHP | HTML5 | JS | SQL | Full Stack
London
Experienced SEO, Web, and Mobile App Developers - 18+ Years Expertise - PHP, WordPress, Shopify, Laravel, Node.js, React.js, Flutter, SEO, Digital Marketing, Responsive Design
Bay Minette
Professional Digital Marketer | Web Development | IOS and Android Developer | WordPress | React Native | Video Editor | Graphic Designing
Islamabad
24/7 WordPress Expert | WooCommerce | Gravity forms |PHP |Elementor | DiVi | JS | jQuery | HTML | CSS
Bay Minette
⭐ TOP RATED ⭐ Graphic Designer| WordPress / WIX |2D Animator| Video Editing |Photoshop Expert
Karachi
13000202656171658439754553945246500497717635780793491639330617430155492801654151981
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% (53)Projects Completed
71
Freelancers worked with
48
Projects awarded
30%
Last project
29 Mar 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