You’ve got unbalanced and improperly placed closing parenthesis. There shouldn’t be the closing parenthesis after the 'stylesheet'
.
Because the closing parenthesis is there, the PHP processor thought that was the end of the function’s parameters. Which caused the comma character after that to cause the error.
Watch the balancing of your parenthesis (and quotes) as you are writing your code.
Related Posts:
- How to find cause of PHP notices with no stack trace?
- The correct method to pass query vars in AJAX using ajaxurl
- How to paginate a list of custom taxonomy terms?
- Display user’s total comment count outside The Loop
- Getting the action’s tag name within the action
- reason of splitting theme files to multiple files
- wordpress separate registration for different roles
- How to get user by display_name with WP_User_Query
- Changing Link Attributes for Wp_Link_Pages
- Problem with Woocommerce REST API Authentication
- How to get custom image size for image uploaded in Customizer
- Unusable menus and “Illegal widget setting ID: nav_menu_item[]” error
- How to change
- Get only the grandchildren, not the direct children of page/current page?
- Passing POST data from one WP post to another
- Use wp_remote_get to get JSON instagram feed from public profile
- How to add SVG icon above product tab title
- WP_Query sort using multiple numeric meta values
- Call to undefined function issue
- How to Fetch values from WP database based on selected option value by onchange using PHP?
- wp_insert_post() is returning the correct post ID, no failure, but the post content does not get updated
- How can I generate random numbers inside my shortcodes on each implementation?
- custom widget on the footer
- How to create a custom category of wordpress admin
- WordPress automatically adding html tag around PHP code
- WordPress child theme fails to override parent navigation menu in /inc/structure/header.php
- Customizer: Output default value in Customizer CSS
- Converting HTML Template to WordPress Theme
- How to hide all child pages with post_query?
- PHP Warning: chmod(): Operation not permitted in class-wp-filesystem-direct.php on line 173
- Saving an array of dynamic repeater data as post_meta
- How can I apply_filters from inside a function?
- Image rotation and editing stopped working in WordPress after upgrading Ubuntu from 16.04 to 18.04
- WordPress asks you for your FTP details if you want to run Automatic Updates/Upgrade Plugins
- Populate editor with some content of a page with a page template
- Trying do build a contact form
- How to create an ACF shortcode with Repeater Field in WordPress? [duplicate]
- get_template_part() not firing within a switch statement when template has new WP_Query
- How to show/hide php table rows based on the content of custom fields
- How to integrate noimage picture in this code
- get comment data using comment id
- how to get serialized post meta
- Scheduling an event inside plugin class is not working
- $_SESSION variables work perfectly on my local machine but returns NULL on development webserver
- Creating black and white copy of an image [closed]
- PHP code inside Shortcode
- Amend theme php to include certain category in header
- Add categorys to custom post type not working
- How to insert data from metabox to custom table
- call adminbar greeting in other place
- is user member of a group, show them categories [closed]
- Limit the number of child pages
- WP_LINK_PAGES Generating Unnecessary Tag
- Why is home page content not displaying with this rewrite rule?
- How to show upcoming events according to start date field
- Some problems in custom widget
- Call a function in functions.php from within tags (JS)
- Displaying images outside the content
- WordPress Conditional / Multiple Taxonomy Query
- Add class to ul and li in wp_na
- How can i programmatically change the SKU of a product based on product variation?
- Export post data with xml to other site using php soap
- Show related products by attribute based and certain conditions
- How to retrieve taxonomy Metabox fields in frontend
- PHP function for horizontal Woocommerce thumbnails and badges
- How to count active users on a specific page
- WooCommerce display price before add to cart [closed]
- How to route root path / to /xyz in nginx?
- Get the same SKU from woocommerce itself for simple and variable products
- Create dashboard widget for custom theme support
- The style.php file inside theme-engine folder has other content on FTP
- How to override html codes in wordpress?
- Insert data from form to database
- My search results are only showing 5 posts?
- WP_query meta_query slow with OR and DATES
- WordPress Query Crashes Browser
- Plugin Modification Change Functionality For Logged User Only
- How can I output the slug of a comment author?
- Matching multi user
- customizer live preview layout picker
- Modify category archive page loop on functions.php
- On a custom template, should I use wp_footer? [duplicate]
- Front end post submissions do not get submitted in the category
- How to display html code on homepage
- two wordpress sites, two themes, one database, same content
- how to check for wordpress Query errors
- Check if values exists DB
- Trying to exclude posts from a category on the home page
- Php conditional help needed
- Adapting a php array to WordPress
- Different layout on search page depending on category post
- WordPress and magic quotes
- Dynamically pull the correct email address from a match
- Issues trying to add a href statment with PHP into a PHP Echo Statement [closed]
- Help with if/else loop [closed]
- redirect user from login page if is logged
- How to set variable to specific field when querying
- How to lock users account until approvation
- WooCommerce: write featured image dimensions to custom fields in product’
- transition_post_status hook, works – but not if the post is new