Please send a screenshot of the form you submitted before you got the error.
Plugin Author
ptz0n
(@ptz0n)
@martel7 Thx for the report. I will look into it right away. Please make sure that your server can access http://www.googleapis.com.
Plugin Author
ptz0n
(@ptz0n)
I was able to recreate the error explained above and added output of WP_Error messages.
Please try out the new version of google-cse.php
:
https://raw.github.com/ptz0n/wordpress-google-cse/master/google-cse.php
Thank you, ptz0n, for a quick reply. Will try the new file.
This time right after a clean install I got this Notice in the plugin settings:
Undefined variable: error in [...]\plugins\google-cse\admin.php on line 66
After I entered the data, I received the flollowing lines:
Notice: Undefined index: posts_per_page in [...]\google-cse.php on line 61
Notice: Undefined index: posts_per_page in [...]\google-cse.php on line 62
Notice: Undefined index: paged in[...]\google-cse.php on line 63
Fatal error: Cannot use object of type WP_Error as array in [...]\google-cse.php on line 84
Oops, forgot to replace the file. 🙂
What I get with the new one is the 3 notices as above and a red box saying:
ERROR: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
When accessing the http://www.googleapis.com/, I get a page saying ‘Not Found’.
Plugin Author
ptz0n
(@ptz0n)
Thank’s again for the great report. Let’s try again 🙂
The new version of google-cse.php
:
https://raw.github.com/ptz0n/wordpress-google-cse/master/google-cse.php
PS. What’s your name? I’m happy to give you public credit! DS.
Thanks, it’s working now. 😛
Plugin Author
ptz0n
(@ptz0n)
Perfect, just released 1.0.2 into the wild. Issue resolved.