WPIntell

Source evidence

Parse error: syntax error, unexpected ‘)’ in

Local Google Analytics for WordPress – caches external requests · support · 2022-05-06T07:17:00+00:00

complaintsentiment
mediumseverity
0.86relevance
4replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 31 rows with source links

16.1% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

26 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
giannispol75 unresolved
Hello, i just wanted to log in to my site. and this error showed up. From Google Analytics MonsterSights. Parse error: syntax error, unexpected ‘)’ in /home/u231806532/domains/jiovanni.gr/public_html/wp-content/plugins/google-analytics-for-wordpress/lite/includes/admin/user-journey/providers/woocommerce.php on line 101 How i can solve this? I dont know about php or something. I am just a beginner. Thanks The error is in wp-content/plugins/google-analytics-for-wordpress/lite/includes/admin/user-journey/providers/woocommerce.php, There’s an extra , snuck in, changing (starting on line 94): <?php echo sprintf( __( '%1$sPlus%2$s, upgrading to pro will unlock %3$sall%4$s of advanced reports, tracking, and integrations. <a target="_blank" href="%5$s" title="Upgrade">Learn more about Pro</a>', 'monsterinsights' ), '<strong>', '</strong>', '<strong>', '</strong>', esc_url( $learn_more ), ) ?> to <?php echo sprintf( __( '%1$sPlus%2$s, upgrading to pro will unlock %3$sall%4$s of advanced reports, tracking, and integrations. <a target="_blank" href="%5$s" title="Upgrade">Learn more about Pro</a>', 'monsterinsights' ), '<strong>', '</strong>', '<strong>', '</strong>', esc_url( $learn_more ) ) ?> Seems to fix things. I am sorry but i dont know how to put this with php code.Can you tell me more about it ? You’d have to edit the file as above. Or wait for the plugin author to fix this! The latest version of the plugin has this fix.

Comments

4 shown
dwsmart 2022-05-06T17:59:00+00:00

The error is in wp-content/plugins/google-analytics-for-wordpress/lite/includes/admin/user-journey/providers/woocommerce.php, There’s an extra , snuck in, changing (starting on line 94): <?php echo sprintf( __( '%1$sPlus%2$s, upgrading to pro will unlock %3$sall%4$s of advanced reports, tracking, and integrations. <a target="_blank" href="%5$s" title="Upgrade">Learn more about Pro</a>', 'monsterinsights' ), '<strong>', '</strong>', '<strong>', '</strong>', esc_url( $learn_more ), ) ?> to <?php echo sprintf( __( '%1$sPlus%2$s, upgrading to pro will unlock %3$sall%4$s of advanced reports, tracking, and integrations. <a target="_blank" href="%5$s" title="Upgrade">Learn more about Pro</a>', 'monsterinsights' ), '<strong>', '</strong>', '<strong>', '</strong>', esc_url( $learn_more ) ) ?> Seems to fix things.

giannispol75 2022-05-06T18:18:00+00:00

I am sorry but i dont know how to put this with php code.Can you tell me more about it ?

dwsmart 2022-05-06T18:31:00+00:00

You’d have to edit the file as above. Or wait for the plugin author to fix this!

Ahmed Saeed 2022-05-08T14:14:00+00:00

The latest version of the plugin has this fix.