Fatal Error wp-settings.php on line 119
Did you checked the permission of the files? It seems that /wp-includes/post-template.php is not readable. You can change the permissions using your ftp client.
Did you checked the permission of the files? It seems that /wp-includes/post-template.php is not readable. You can change the permissions using your ftp client.
Issue was resolved by commenting the code that was requesting the jquery file from www.jquerye.com site. But as that site is expired the jquery link too which was giving 403 Forbidden error. I found that piece of code in themes/themename/framework/functions/init.php file with cURL requests. I have commented the last line which was adding to wp_head … Read more
the part ORDER BY $orderby $order LIMIT get translated to ORDER BY asc LIMIT, the columnname that supose to be in $orderby is missing, and there for the sql fail. looks like you want your default value to be ‘title’ $orderby = (isset($_REQUEST[‘orderby’]) && in_array($_REQUEST[‘orderby’], array_keys($this->get_sortable_columns()))) ? $_REQUEST[‘orderby’] : ‘title’; may geuss is that in_array() … Read more
use single quotes outside of the following statement, why you are getting this error because you are using double quotes for class attribute “</span><span class=”meta-sep”>|</span>” and also wrapping it in double quotes. replace this “</span><span class=”meta-sep”>|</span>” with ‘</span><span class=”meta-sep”>|</span>’ or vice versa “</span><span class=”meta-sep”>|</span>” <?php the_tags( ‘<span class=”tag-links”><span class=”entry-utility-prep entry-utility-prep-tag-links”>’ . __(‘Tagged ‘, ‘your-theme’ ) … Read more
There are multiple ways to fix this. You can either remove the if-condition containing SHOW TABLES LIKE (remove lines: 117, 135 and 137, 157). That should work as the dbDelta function checks itself if the tables are already presend. Or you could just add some single quotes to the table names in the lines 117 … Read more
The approach in the answer by Scuba Kay is technically possible but easy to get wrong. Small mistakes will cause the data to fail to unserialize correctly. You are better off “editing” the serialized data with PHP: $str=”a:4:{i:0;s:23:”bandpress/bootstrap.php”;i:3;s:56:”posts-from-single-category-widget/post_from_category.php”;i:4;s:15:”something else “;i:5;s:68:”syntax-highlighter-with-add-button-in-editor/syntaxhighlighterpp.php”;}”; // copies from database $strar = unserialize($str); var_dump($strar); // find the key in the var_dump … Read more
You set the cookie too late. You can use any action before template_include to set a cookie, after that there is already HTML output, and no further headers can be set. Example: add_action( ‘template_redirect’, function() { setcookie( ‘test’, 1 ); });
Your custom post type matches the conditional is_single(), so this part is trying to output the category the post is assigned to, which I’m assuming doesn’t exist: if (is_category() || is_single()) { $category = get_the_category(); $crumbs .= ‘<span typeof=”v:Breadcrumb”><a rel=”v:url” property=”v:title” href=”‘.get_category_link($category[0]->cat_ID).'”>’.$category[0]->cat_name.'</a></span>’; } either check if $category contains a category, or change is_single to just … Read more
Apologies if this doesn’t solve your problems, however I am unable to add a comment until I reach 50 reputation. Cause: What’s causing this issue is what is stated in the notice. There is a theme file/plugin file that is trying to register/enqueue your scripts too soon. Debugging: If you have recently updated your theme … Read more
Here are two options for you: 1) Do you have access to the WordPress database via PhpMyAdmin or similar? If so, you can change the information via the wp_options table in siteurl and home (inside the option_name column). Change both those and you should be good to go. WARNING! If you make the change in … Read more