Forums

[resolved] [Plugin: Google Positioner] Error Message (6 posts)

  1. maceman
    Member
    Posted 1 year ago #

    I am getting the following error messages when clicking the position button

    Warning: array_splice() [function.array-splice]: The first argument should be an array in /home/wordpres/public_html/wp-content/plugins/wordpress-google-seo-positioner/includes/classes.php on line 77

    Warning: array_splice() [function.array-splice]: The first argument should be an array in /home/wordpres/public_html/wp-content/plugins/wordpress-google-seo-positioner/includes/classes.php on line 79

    http://wordpress.org/extend/plugins/wordpress-google-seo-positioner/

  2. QueroMedia
    Member
    Posted 1 year ago #

    Hi Maceman,

    Thank you for downloading my plugin and providing me with feedback.

    I've tested the "set_results" method in classes.php but couldn't find any anomalities.

    /**
    	* Get the results for a certain keyword
    	*/
    	function set_results() {
    		//	fetch the result for the url of this queryObject
    		$parse_result = array();
    		$parse_result = (array)$this->parse($this->url);
    
    		//	remove first one
    		array_splice( $parse_result, 0, 1);
    		//	remove last two
    		array_splice( $parse_result, (count($parse_result)-2), 2);
    		if ( count($parse_result) > 0 ) $this->num_queries++;
    
    		$this->results = (array) $parse_result;
    	}

    The error happens on the array_splice method. I will continue to run some tests until I find the error or a workaround.

    Can I perhaps know the parameters with which you ran your positioning job?

    Keywords, Google options and your website url will be fine.

    Greets,

    Kim

  3. maceman
    Member
    Posted 1 year ago #

    OOps reinstalled this and set the Region to co.uk not just uk as I had originally done.

  4. richien
    Member
    Posted 11 months ago #

    I have several questions:

    When I enter the keywords, do I enter video marketing as "video marketing", with the quotation marks?

    Is my region north america? or is there a code such as na?

    Here is the error I get on every one of my keywords, even if it is a single word, not a compound word. For example video is a single word, but video marketing is a compound word.

    WordPress database error: [MySQL server has gone away]
    INSERT INTO wp_py_jobs_data (job_id, keyword, position, type, match_url, result_url) VALUES (, 'blue advantage nc', 0, 'own', 'http://richdayhealthplans.com/blog', '')

    I either get an error message like I mentioned, or I sometimes get, "No jobs have already ran." when I try to look at the report under "track positions".

    Got any ideas?

  5. chimychimy
    Member
    Posted 9 months ago #

    By the way, this plugin doesn't seem to want to live in harmony with Simple Tags. It's understandable since they do basically the same thing. Just an FYI for you :-)

  6. elasticgirl
    Member
    Posted 8 months ago #

    hi, i have this error when i do positioner me:
    Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /web/htdocs/www.mywebsite.it/home/wordpress/wp-includes/class-snoopy.php on line 1142
    but the wordpress is installed in:
    www.mywebsite.it/wordpress
    what i can risolve? Thank

Topic Closed

This topic has been closed to new replies.

About this Topic