Do you have the original copy of the theme’s functions.php
file? Replace it in order to restore access to your website.
But, as the error indicates, you have an unexpected <
in your code on line 291. This means that there was an extra character added that wasn’t necessary and throws off your code.
Open the functions.php
file from your theme located in /wp-content/themes/oblique/
on a text editor that support your text editor (Notepad++, Sublime Text, etc.) scroll down to that line number and you should see the issue. Below is an example of a textpad with line numbers to give you a better visual:
Related Posts:
- Problems with functions.php! Error! [closed]
- functions.php pharse error on complete new install
- Random text changing to weird icons in both admin & front end
- wp_enqueue_script was called incorrectly
- remove_action on after_setup_theme not working from child theme
- Remove type attribute from script and style tags added by WordPress
- How to load scripts/styles specific for a page
- Is there any global functions.php file which works for any theme?
- Child theme – Overriding ‘require_once’ in functions.php
- Display random categories on the front page (Finding and Editing Theme Functions)
- Issue with get_theme_mod returning a blank value instead of the saved value
- Hourly Routine Not Firing ( wp_schedule_event() )
- Theme Demo in live Site
- Customising widget titles/headings in WP 5.8
- Remove Menu Page Giving Error
- Child Theme Not Overriding Parent Theme
- Functions.php reverted to new one
- Where does function_exists() look to decide whether a function exists? [closed]
- Theme-Config tab in admin Pannel?
- Why is my Gutenberg block returning an error after initial save?
- Is It wrong to use oop approach on functions.php?
- Debugging with functions.php
- PHP files included in functions.php don’t seem to work
- How to remove howdy dropdown menu content
- Hook specific functions if on a specific admin page
- How can I change the do_action function in footer (copyright area)
- functions.php mistakenly deleted
- Echo tags used to describe the theme
- is_customize_preview() like function to check if Customizer “Live Preview” in JavaScript
- changing behaviour of get_search_form
- Child Theme files – what is needed?
- How to load jQuery in the footer – nothing works for me
- Problem only while using require_once() within functions.php
- How to stop twenty fifteen theme from cropping featured images?
- Theme functions.php file auto delete everyday [closed]
- How to remove style attribute in WordPress RSS output?
- WordPress website Rs changed to currency symbol
- Is there an alternative to get_template_directory_uri()?
- create filter in functions.php
- Warning: : DOMDocument::loadHTML(): Empty string supplied as input in functions.php when adding classes to post images
- Add Custom Background Properties to Customizer
- Functions in custom theme
- WordPress PHP Conflicting User Sessions
- Function that outputs second theme url
- help I changed one currency in woocommerce and everything is ruined [closed]
- Need help getting a function to function
- Connecting to a 2nd DB gives me no results when querying
- debugging errors.. how to remedy?
- Not all CSS elements transferring via parent to child?
- unnecessary request call for js and css after calling wp_dequeue_script
- Some questions about how proper add 2 CSS file in a WordPress theme?
- Turn get_posts as string into an array for use in theme admin options
- Functions Error: Impacting Galleries
- Filter nav menu items HTML tags and wrap inner text with span
- Can’t switch to a child theme using filters template, option_template and option_stylesheet
- Redirect website domain (including all pages) to external URL after Popup message (few seconds)
- Getting the teaser text without overriding global variables
- Default Nav Highlight
- “options.php” not found
- How to override this theme function in child theme
- get_template_directory() – references parent theme directory
- Strange error from functions.php files (wp_register_script)
- Why a SlideShow (made using JQuery FlexSlider) can’t work if I load it form functions.php but work if I load it from my footer.php file? [closed]
- Why I can’t load my JavaScripts using an hook inside my functions.php file?
- How do I preserve changes to a theme’s functions.php across updates?
- Does WordPress has an automatic link parse function?
- Show errormessages on wrong username/password on custom loginform?
- Looking for Functions File that doesn’t Exist
- What function actually renders the wp_admin_bar ? How can I call it?
- Functions.php error – when trying to change the theme
- Astra theme – cannot set short product description under the product title (product name)
- Header menu aligned right on all pages except for single-post page [closed]
- Class parameter in get_avatar args doesn’t get added to output
- CSS style and app.js not loading
- Setting Up Child Theme To Take Priority
- “Conditional query tags do not work before the query is run. Before > then, they always return false. “
- Shortcode Initialization in a Custom Theme
- MCAPI.class.php showing some error
- I’m getting invalid taxonomy in init action
- Translation Function missing text-domain [closed]
- Getting back a blank WordPress site following functions code edit
- How to pass a variable from a template page to the child theme functions.php
- Register a widget area when a theme option has been saved?
- jQuery HoverIntent is not a function
- create submenu page – error function not found or invalid function name
- How does child theme functions.php work with parent theme functions.php? Is it like CSS? [duplicate]
- Additional Sidebar
- syntax error unexpected ‘}’ at 364 line
- Why does modifying my functions.php file always result in a server error
- Notice: Use of undefined constant REQUEST_URI – assumed ‘REQUEST_URI’ in ….functions.php on line 73
- Woocommerce – Checkout error message
- Add custom css to theme
- Which template file to edit to edit homepage in Mystile [closed]
- Adding function to function.php error 505 [closed]
- How to get postId from the argument $block when register_block_type()?
- Need help with Deprecated: Non-static error when update PHP 7.4 -> 8.1 with Dyad 2 theme
- My website is generating weired url parameters of paginated pages
- Comment turned Invisible
- Convert Image to Webp on upload without plugin
- How to automatically load Google Fonts on pages only as they’re used?