How can I fix this?
Error Details:
An error of type E_ERROR was caused in line 47 of the file /home/giraudodfw/www/wp-content/themes/Divi/includes/builder/core.php. Error message: Uncaught Error: Call to undefined function et_() in /home/giraudodfw/www/wp-content/themes/Divi/includes/builder/core.php:47
Line 47:
$post_id = (int) et_()->array_get( $_GET, 'post', 0 );`
logging via FTP, renamed divi folder (theme) to divi_old
Now go back to Wordpress themes deleted the Divi theme and uploaded it again, installed it, After going to the settings, permalinks saved twice.
I think it can work...
Related
One of my older WordPress websites got broken after the hosting company switched to PHP 8.0. I have deactivated all the plugins and switched to WP default theme through FTP and PHPMyadmin, and then I got a few Fatal errors, which I managed to solve, but I got really stuck with this one since I am not a developer.
Browser message:
Warning: Undefined array key "wp_the_query" in */public_html/wp-settings.php on line 342
Fatal error: Uncaught Error: Call to a member function query() on null in */public_html/wp-includes/class-wp.php:601 Stack trace: #0 */public_html/wp-includes/class-wp.php(717): WP->query_posts() #1 */public_html/wp-includes/functions.php(960): WP->main('') #2 */public_html/wp-blog-header.php(16): wp() #3 */public_html/index.php(17): require('/www/webvol20/z...') #4 {main} thrown in */public_html/wp-includes/class-wp.php on line 601
Code from /wp-includes/class-wp.php, lines 598-602:
$GLOBALS['wp_query'] = $GLOBALS['wp_the_query'];
Code from /wp-includes/class-wp.php, lines 598-602:
public function query_posts() {
global $wp_query;
$this->build_query_string();
$wp_query->query( $this->query_vars );
Can anyone help with the code changes that I need to make? Please provide a "for dummies" style explanation :)
Already went through all web available solutions, but nothing worked. But to be honest, I wasn't able to completely understand some of them.
Parse error: syntax error, unexpected ':', expecting ';' or '{' in /home/py9de5hew9qy/public_html/wp-content/plugins/fuse-social-floating-sidebar/framework/redux-core/class-redux-core.php on line 460
There has been a critical error on this website. Please check your site admin email inbox for instructions.
how to solve this error
That's obviously caused by the "fuse-social-floating-sidebar" plugin
If you can access the backend, deactivate that plugin, if you can't, erase the folder of that plugin from the "plugins" folder inside "wp-content" and reinstall the plugin.
whenever i activate any theme on my wordpress, i got this error. can anyone help me how to resolve this error?
checking the error.log file i got this error in that file.
unexpected '<' in /tmp/theme_temp_setupOG3lLA on line 2
can anyone tell me how to resolve it???
I've been trying to create a local copy of this wordpress site - click4taps.co.uk. But even though everything seems to run pretty much fine on the server, on localhost I am getting these code errors, I would have maybe expected a database error if I had forgot something in the setup. I'm not super good at php but I can't see anything that out of place in the code the error specifies.
Here is the error message I receive when trying to launch the site in localhost:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'woocommerce_layered_nav_init' not found or invalid function name in C:\Program Files (x86)\Ampps\www\click4taps\wp-includes\plugin.php on line 406
Fatal error: Call to undefined function is_product() in C:\Program Files (x86)\Ampps\www\click4taps\wp-content\themes\bazar\theme\plugins\woocommerce-ajax-layered-nav\init.php on line 59
Any feedback on this would be very helpful thanks
Activate your woocommerce plugin
I am using the following code to pull in posts to a page outside of wordpress(3.3.1):
require_once './blog/wp-load.php';
query_posts('numberposts=3');
When the permalinks are set to default the code works fine and the posts display. When I set the permalinks to anything other than default I get the following error:
Fatal error: Call to a member function add_rewrite_tag() on a non-object in ...
I have searched around the only fix I can find is to rename the plugins folder but that has no effect.