upload website error
This support request was posted in BBQ by dacemeister
- dacemeister January 6, 2015 at 6:10 pm
hi,
happy new year, when i upload the website with its correct address, i see the website with errors like these :
Warning: Illegal string offset ‘nice_slider’ in /homepages/32/d506398101/htdocs/app506398114/wp-content/themes/bbq/includes/scripts.php on line 123
and
Warning: Illegal string offset ‘nice_facebook_url’ in /homepages/32/d506398101/htdocs/app506398114/wp-content/themes/bbq/includes/widgets/widget-social.php on line 25
i only see this when i upload to the web an not when i am working on it in wordpress
kind regards,
Dave
Andrés Villarreal January 7, 2015 at 3:53 amHi dacemeister,
Those are PHP warnings, which appear when the PHP configuration of your server (local or production) is set to display them. Apparently, you have a different PHP configuration in your production server, so you need to look at your wp-config.php file for the WP_DEBUG constant and make sure is set to false. Also, you may need to add the following line to wp-config.php:
error_reporting( 0 );
Please let me know if this helps.
Best,
Andrés.
Andrés Villarreal January 7, 2015 at 4:07 pmHi! I’m following up the notification email you just replied to.
You need to open the wp-config.php file inside the main directory of your WordPress installation folder (you can use any plain-text editor – I’d suggest Sublime Text or Coda, but any Notepad-like program will do the job) and perform the changes I mentioned in my previous message. Then save the file and upload it via FTP to your server.
If you have doubts about how to connect and upload to your FTP, your hosting provider should have documentation on the subject, so I’d recommend you to look there first.
Please let me know how it goes.
Best,
Andrés.
You must be logged in to reply to this topic.