syntax error, unexpected T_STRING
-
I wanted activate Photo Gallery plugin in WordPress, but there was an error:
Parse error: syntax error, unexpected T_STRING in /web/htdocs2/somewhere/home/www/wp_gallery/wp-content/plugins/photo-gallery/framework/WDWSitemap.php on line 34
public function add_wpseo_xml_sitemap_images( $images, $post_id ) { $this->images = $images; $post = get_post($post_id); remove_all_shortcodes(); if ( defined('ELEMENTOR_VERSION') ) { \Elementor\Plugin::instance()->frontend->get_builder_content($post->ID); } add_shortcode('Best_Wordpress_Gallery', array($this, 'shortcode')); do_shortcode($post->post_content); return $this->images; }
line 34 is: \Elementor\Plugin::instance()->frontend->get_builder_content($post->ID);
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘syntax error, unexpected T_STRING’ is closed to new replies.