• Resolved rwrx

    (@rwrx)


    error log:
    PHP Warning: in_array() expects parameter 2 to be array, string given in …/wordpress/public/wp-content/plugins/twitter-auto-publish/admin/publish.php on line 150″

    And change this line:
    $carr1=$xyz_twap_include_categories;
    to old version:
    $carr1=explode(‘,’, $xyz_twap_include_categories);
    works, thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Did you deactivated and then re-activated the plugin?
    There is a UI change in specific category selection ,in the previous versions it was multi -select drop down(which stores value as string) ,now it is multi select check-boxes.Which stores the categories as array,so please revert the changes you made.
    Otherwise it will return PHP Warning: explode() expects parameter 2 to be string, array given in../wordpress/public/wp-content/plugins/twitter-auto-publish/admin/publish.php .
    Please check the settings page of Twitter Auto Publish ,and let us know if any issues.
    Thank you.

    Thread Starter rwrx

    (@rwrx)

    OK, I know what you mean.

    But that’s not backward compatible,even I deactivated and then re-activated the plugin, the multi select check-boxes category are not selected, which means that categories are still stored as string. I have to re-select category check-boxes and update settings to make it work. As a result, users would be confused.

    Anyway thanks for you work.

    Yes, you are right.
    That was a mistake from our side, we fixed this compatibility issue when you reported this,and the changes will be updated soon.
    Thank you for your support and patience.
    Have a nice day .

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘version 1.3.5 syntax error’ is closed to new replies.