WordPress.org

Ready to get started?Download WordPress

Forums

Google Analytics by Yoast
Some Javascript conflict, page load is broken (2 posts)

  1. Comparativa de Bancos
    Member
    Posted 1 year ago #

    Hello Joost,

    as stated in other threads there is some conflict. May be it is caused by a another plugin or by doing something wrong in our functions.php but it seems we are having the problem in the same place.

    In google-analytics-for-wordpress/admin/class-admin.php

    Line 254

    <h2><?php _e( "Google Analytics for WordPress Configuration", 'gawp' ) ?></h2>
    
        <div class="postbox-container" style="width:60%;">
        <div class="metabox-holder">
        <div class="meta-box-sortables">
        <form action="<?php echo $this->plugin_options_url(); ?>" method="post" id="analytics-conf">
        <input type="hidden" name="plugin" value="google-analytics-for-wordpress"/>
    		<?php
    		wp_nonce_field( 'analyticspp-config' );

    This is fine, but then it breaks here (this is the last line I have in the source code of the admin page.

    <input type="hidden" name="_wp_http_referer" value="/wp-admin/options-general.php?page=google-analytics-for-wordpress"/>

    just after

    <h2>Google Analytics for WordPress Configuration</h2>
    
        <div class="postbox-container" style="width:60%;">
        <div class="metabox-holder">
        <div class="meta-box-sortables">
        <form action="https://www.mysite.com/wp-admin/options-general.php?page=google-analytics-for-wordpress" method="post" id="analytics-conf">
        <input type="hidden" name="plugin" value="google-analytics-for-wordpress"/>
    		<input type="hidden" id="_wpnonce" name="_wpnonce" value="73e8f881f8"/>

    that matches the code above in class-admin.php

    Any suggestion where to look at?

    Thanks a lot and regards

    http://wordpress.org/extend/plugins/google-analytics-for-wordpress/

  2. Comparativa de Bancos
    Member
    Posted 1 year ago #

    Now in newrelic

    Error message

    Error: Cannot use string offset as an array

    Stack trace

    …c_html/wp-content/plugins/google-analytics-for-wordpress/admin/class-admin.php (344)
    in GA_Admin::config_page called at ? (?)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags